You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I ran Dupefinder on new TV Show libary and recived the following error.
line 352, in
item.grandparentTitle, int(item.parentIndex), int(item.index), item.title)
^^^^^^^^^^^^^^^
TypeError: int() argument must be a string, a bytes-like object or a real number, not 'NoneType'
However I'm total pleb. I asked ChatGPT and it provided me with this
title = "%s - %02dx%02d - %s" % (
item.grandparentTitle, int(item.parentIndex) if item.parentIndex is not None else 0, int(item.index) if item.index is not None else 0, item.title)
and it fixed my issue. and I decided to share it here
The text was updated successfully, but these errors were encountered:
Describe the bug
I ran Dupefinder on new TV Show libary and recived the following error.
line 352, in
item.grandparentTitle, int(item.parentIndex), int(item.index), item.title)
^^^^^^^^^^^^^^^
TypeError: int() argument must be a string, a bytes-like object or a real number, not 'NoneType'
However I'm total pleb. I asked ChatGPT and it provided me with this
and it fixed my issue. and I decided to share it here
The text was updated successfully, but these errors were encountered: