Open AnalogMan151 opened 3 years ago
Since posting this I have run into a few more series that are affected and have found the cause. If an episode lacks an episode description (in the example show in the OP, Jujutsu Kaisen, episodes 18-24 have no summaries) then the matching will fail.
Here's the issue:
https://github.com/jkwill87/mnamer/blob/feea26aee7e6329c9c7ca79d4d892ae8332f9b86/mnamer/providers.py#L279-L282
If a synopsis is blank you set it to None but then the replace functions after error on a None object. Changing it to this works fine:
synopsis=(entry["overview"] or "")
Thanks @AnalogMan151
I have added this to the MR i have for fixing issue #144
Running on a directory it finds and matches the first 17 episodes just fine, then fails for episodes 18-24. So far this has only happened on this one specific series, I have been able to successfully process other series greater than 17 episodes. This also happens when specifying the TVDB ID manually. This only happens with TVDB, works fine with TVMaze.