l3uddz / plex_dupefinder

Find and delete duplicate files in Plex
GNU General Public License v3.0
303 stars 54 forks source link

Type Error #32

Open bbakermmc opened 4 years ago

bbakermmc commented 4 years ago
Found 4109 dupes for section 'TV Shows'
Traceback (most recent call last):
  File "C:/Users/bbaker/Desktop/plex_dupefinder-master/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'
bbakermmc commented 4 years ago

This seems to get me by for now item.grandparentTitle, int(item.parentIndex), int(item.index or 0), item.title)

fasavard commented 1 year ago

I had to modify a bit for me to work: item.grandparentTitle, int(item.parentIndex or 0), int(item.index or 0), item.title) Must be somewere some kind of filenaming that dos not return into item.parentIndex or item.index