trackma
trackma copied to clipboard
Forge filename in Plex tracker.
There is no need to parse the original filename (this sometimes fails) if Plex already has the title and ep #.
The grandparentTitle
tag seems to be used only in newer versions, also the method used now was a fix for a previous version (that still works) that only returned the filename when the file was not being transcoded (see #287).
this doesn't always work
when does it not work?
Thanks for pointing this out. The only reason I wanted this is because I have some strange filenames such as Kill.la.Kill.S01E01.1080p-Hi10p.BluRay.FLAC2.0.x264-CTR.[98AA9B1C].mkv
which trackma can't parse for the title and episode. But Plex has that information.
Oh, the issue seems to be with AnimeInfoExtractor.py then, which is what trackma uses to get the info from filenames, getting the info from the plex agents is not a good idea either because they (depending on which one is used) sometimes label the shows incorrectly (either by labeling them as the wrong season, not even recognizing OVAs as separate entries, or straight up getting the title wrong). Either way this is the first time i see that way of naming anime episodes.