mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-08 06:00:51 -07:00
Check for metadata returned from metadata.provider.plex.tv
This commit is contained in:
parent
820a2e688c
commit
7b58bcc279
1 changed files with 6 additions and 5 deletions
|
@ -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:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue