Skip to content
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

Update plex_dupefinder.py - fix no episode number #80

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

RandomRhythm
Copy link

fix #76

Error processing unattributed TV episode:

  File "C:\git\plex_dupefinder\plex_dupefinder.py", line 353, in <module>
    item.grandparentTitle, int(item.parentIndex), int(item.index), item.title)
TypeError: int() argument must be a string, a bytes-like object or a number, not 'NoneType'

The above errors happens when an episode is encountered that does not have season/episode number attribution. Example:

<Episode:81092:Animals-Unscripted-s2024eNone>

Not much can be done by dupefinder since there is no episode attribution. Decided against printing or logging an exception.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Error int(item.index) when it doesn't exists
1 participant