Duration may be missing for discover episodes
MODIFY
plextraktsync/plex/PlexLibraryItem.py
plextraktsync/plex/PlexLibraryItem.py
@@ -65,6 +65,9 @@ def guids(self):
@cached_property
def duration(self):
+ if self.item.duration is None:
+ return None
+
hours, remainder = divmod(self.item.duration / 1000, 3600)
minutes, seconds = divmod(remainder, 60)

Duration may be missing for discover episodes