Fall back to .guid if .guids is empty
This is to support legacy agent
MODIFY
plex_trakt_sync/plex_api.py
plex_trakt_sync/plex_api.py
@@ -95,6 +95,8 @@ def guid(self):
@memoize
def guids(self):
guids = [PlexGuid(guid.id, self.type, self) for guid in self.item.guids]
+ if not guids:
+ guids = [self.guid]
# take guid in this order:
# - tmdb, tvdb, then imdb

Fall back to .guid if .guids is empty

This is to support legacy agent