Comments (6)
If the name is causing the problem, a fuzzy string searching might work by ignoring the casing and removing the special characters (like -, ' and !).
from traktroller.
Thanks for pointing this out!
This seems to be an issue with Trakt. Trakt has the exact title as an alias but for some reason the show does not appear in the search results. I've opened an issue on Trakt's api-help.
I would prefer not to mess with the title being looked up. The preferred way to resolve weird titles on Crunchyroll would be to add them as alternative titles on TMDB, which then gets picked up by Trakt. I hope Trakt is able to resolve this on their end.
from traktroller.
The RegEx [\+\-&\|!\(\){}\[\]\^"~\*\?:\/]
(example on RegExr) can be used for matching Solr special characters, with this is possible to get the characters and escape them correctly.
I don't know how RegEx works in JavaScript/TypeScript, so the sintaxis might be wrong or invalid.
from traktroller.
Just did a quick check by adding a backslash before - and ! and it works:
The weird thing is, this is not automatically handled by the web page of Trakt.
from traktroller.
The other solution would be quoting the title, as mentioned on trakt/api-help#76
from traktroller.
This has been fixed in 1.0.6.
There are still issues with e.g. S02E11, which gets mistaken for S02E01. But that's a separate issue (E01 has number_abs = 11) and doesn't have a simple fix.
from traktroller.
Related Issues (9)
- What is needed to support YePpHa/crunchyroll-html5? HOT 1
- Scrobbling the wrong episodes for SAO Alicization War of Underworld HOT 1
- Scrobbling is not resumed when the internet goes down and back up HOT 1
- Failed to scrobble: Missing data on One Piece episode HOT 2
- Crunchyroll Beta - Currently Incompatible HOT 2
- funimation
- Incorrect Scrobble with episodes that contain .5 on the number HOT 1
- Connecting with Trakt from the button does nothing after authorizing TraktRoller HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from traktroller.