Open BobGod8 opened 7 years ago
I think a couple of things need to happen here. The renamer, here, is built on the "phoenix-core" metedata apis, and those apis have been updated update handle "some" of your use cases. So, this tool needs to be updated to pull in the latest phoenix.
You can can work around any of these issues by using the MediaTitles.xml (a sample is provided in the tool). With the MediaTitles, you can specify a title matcher (regex) and then it will for a specific lookup for it. It's a little complex, maybe, but there is a way.
I did eventually find the MediaTitles xml, and it works fine, but it means adding each show with a year to the file, which isn't ideal, or each show with an acronym, which is harder to spot. It's a workaround, though, thanks.
Can I grab something specific from the Phoenix or Phoenix Lite while waiting for the Renamer to pull the updates from phoenix-core? I'm assuming that would fix passing the year correctly, and might fix the capitalization problem. Unless it was a previously reported bug I don't see how that would fix whatever's happening with "Once.Upon.a.Time"="Once+Upon.a.+Time".
Thanks again!
It's not well documented, but he media titles xml doesn't really need much. Just the regex and the metadata elementes..
<match>
<regex>[\\/]Once Upon a Time \(2011\)[\\/]</regex>
<metadata type="TV" name="tvdb">248835</metadata>
</match>
That is one from mine, that says anyting that directory matached the TVDB id 248835.
You could just do,
<match>
<regex>Once.Upon.a.Time</regex>
<metadata type="TV" name="tvdb">248835</metadata>
</match>
And anything it sees a file with "Once.Upon.a.Time" in the name, it will use the tvdb id for that pattern.
There is nothing you can do to manually update phoenix-renamer... but in the phoenix the filename scraping was completely rewritten, and I use 100s of these types of filenames for testing. I just need to find time to update phoenix-renamer with the newer code.
I think I've found 3 bugs in how the Phoenix Renamer handles filename/metadata names. I'm lumping them into 3 categories, anyway. Raw pastes here: https://pastebin.com/WnLuqa19
Capitals/punctuation, where my tests are iZombie, Law and Order SVU, and Marvel's Agents of S.H.I.E.l.D. The renamer splits capitals (iZombe to I+Zombie, SVU to S+V+U, etc). With the periods in SHIELD it might make sense, but it doesn't especially for iZombie.
Dropping years. It seems to search twice, once with the year and once without, and then ignore the first search...
No idea what's going on, but issue with small word, where test case is Once.Upon.a.Time. It gets Once+Upon.a.+Time which is just weird.
I'd take workarounds instead, like hardcoding, but these seem like internal parsing errors.