-
Notifications
You must be signed in to change notification settings - Fork 81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wrong detection for local anime #469
Comments
Related: #413 Please provide the file names of the mismatched files. You can enable more debug output in the CLI ui using |
Unless things have changed dramatically since I last gave it a shot, Trackma uses a series of RegEx functions to whittle the filename down to a string most likely to represent the series name I spent far more time than I should have rewriting and testing rewriting much of the RegEx for it, since I was only getting about ~65% of my library correctly IDed, but just ended up too sick, and had to drop it before it was finished, as fever was just messing up too much. It is definitely still picky when it comes to IDing, i.e., I just finished rewatching Fairy Tail the other day (naming pattern: ¯_(ツ)_/¯ Bah, can't do much of anything from here (stuck in hospital, spending my days watching anime off of my server), since I am on my cell, and am not even allowed to use that in my room. Just saw the issue in my email inbox and thought I'd add my two cents, since I really had nothing better to do during my daily few minutes out of bed. |
KawAnime seems to be using https://github.com/erengy/anitomy. The parsing algorithm is briefly explained in the README and might be worth looking into. |
But then, does that mean simpler naming schemes confuse it? For example, Kimetsu no Yaiba is simply named in the format "Kimetsu no Yaiba - ##.mkv" in my Anime folder and trackma fails to recognize it. |
The most obvious issue is this. It assumes a series to be its upcoming season 2, OVA or something of the sort... does it handles spaces poorly? |
So, it doesnt use Anitomy?
Damn, too bad, would be great to see better parsing.
Yes, this is weird, happens a lot, even with a pretty simple naming scheme. |
You could try enabling matching for your entire library instead of just watching and planning. In case you have shows on your disk that you already completed and that is confusing trackma. |
Is there any particular reason Anitomy isn't being used with Trackma? Back when I was on Windows and using Taiga (which uses Anitomy) I never had any issues like this with detection. |
The issues regarding the extraction of the title from the filename could be fixed by switching to Anitomy, for sure. But the issue of the wrong show being recognized is a different one; this is done by a different algorithm doing fuzzy search. This would need rework, but for now we can see if increasing the required ratio improves things. Line 253 in 0a5170c
|
Anitomy is a C library and even though Python can interface with that, it's always a struggle to distribute - cross-platform at that. It might be easier to reimplement the algorithm in Python. |
Looks like it's enabled already... it even searches for upcoming series on my folder. |
I see. I'll try. Should I close this if it's a duplicate? |
Have you tried other fuzzy search methods such as Levenshtein distance? The devs of fuzzywuzzy prefer it seatgeek/fuzzywuzzy#128. |
Closing it since it's a duplicate. |
Many local anime are recognized wrongly. For examples,
Similar story with most of the Anime in my library. Is there maybe a naming scheme I should be following? That said, the detection of local anime seems to be a weak point of Trackma. It does very poorly compared to KawAnime or Kodi or other tools. Still an amazing tracker tho.
The text was updated successfully, but these errors were encountered: