on hdhr2plex...
My issue with it is that matching by air date just didn't yield great results for me. Perhaps the quality of the guide data where I am is not great. So I needed it to either trust the filename for season/episode, use the air date, or in some case match on episode name... I also had issues with the show name not being found, because the guide had a show name that was just too different from tvdb.
So I made it configurable on a show by show basis. I added a shows.conf file where I can specify to match on Air date (A), episode name (N), or recorded date (R). Also, for a given show, I could overwrite the seriesname to do the tvdb lookup.
Things like the news worked best based on the record time (they all had the same air date in the '70s). Things like Jeopardy worked great with the air date. Other things worked best on episode name.
For episode name matching, I used the fuzzywuzzy library to score the string compare and use the best score.
BUT since I didn't know much about python, I figured out what your code does by deconstructing it (removing stuff I didn't need, lots of trial and error, etc) before I started to add stuff I needed back in. So bottom line, to merge any of this new functionality back into your excellent program is gonna be some work. If you have any interest in the functionality I describe, I promise I will find time to incorporate it back into your code. Or I can send you my python script and see if there is anything you like out of it. Either way.
By the way - even with hdhr2plex, the tvdb lookups were taking forever. I ended up "fixing that" by adding a socket.setdefaulttimeout(5) on top of the script and it worked fine after that. I will try something similar with the dump util to see if that help. There is something funky with networking on my nas and/or network, but I can't quite figure out what it is yet.
Example entries in my shows.conf
Code: Select all
[The Voice]
[NBC Nightly News with Lester Holt]
matchon: R
[Jeopardy!]
matchon: A
seriesname: Jeopardy!
[America's Test Kitchen from Cook's Illustrated]
matchon: N
seriesname: America's Test Kitchen
No matter what, I thank you again for writing these utilities. It is thanks to these utilities that I now rely 100% on hdhomerun dvr for all my recordings!