Fall back to .guid if .guids is empty
This is to support legacy agent
@@ -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
