Check for metadata returned from metadata.provider.plex.tv
This commit is contained in:
@@ -1268,6 +1268,7 @@ class PmsConnect(object):
|
|||||||
# Get additional metadata from metadata.provider.plex.tv
|
# Get additional metadata from metadata.provider.plex.tv
|
||||||
if not plex_guid and metadata['live']:
|
if not plex_guid and metadata['live']:
|
||||||
plextv_metadata = self.get_metadata_details(plex_guid=metadata['guid'])
|
plextv_metadata = self.get_metadata_details(plex_guid=metadata['guid'])
|
||||||
|
if plextv_metadata:
|
||||||
keys_to_update = ['summary', 'rating', 'thumb', 'grandparent_thumb', 'duration',
|
keys_to_update = ['summary', 'rating', 'thumb', 'grandparent_thumb', 'duration',
|
||||||
'guid', 'grandparent_guid', 'genres']
|
'guid', 'grandparent_guid', 'genres']
|
||||||
for key in keys_to_update:
|
for key in keys_to_update:
|
||||||
|
Reference in New Issue
Block a user