mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-16 02:02:58 -07:00
Remove debug logging
This commit is contained in:
parent
97ec8f6828
commit
96699fc3b0
1 changed files with 0 additions and 5 deletions
|
@ -607,10 +607,8 @@ class PmsConnect(object):
|
|||
metadata_xml = self.get_sync_item(str(sync_id), output_format='xml')
|
||||
elif plex_guid:
|
||||
rating_key = plex_guid.rsplit('/', 1)[-1]
|
||||
logger.debug("https://metadata.provider.plex.tv rating_key: {}".format(rating_key))
|
||||
plextv_metadata = PmsConnect(url='https://metadata.provider.plex.tv', token=plexpy.CONFIG.PMS_TOKEN)
|
||||
metadata_xml = plextv_metadata.get_metadata(rating_key, output_format='xml')
|
||||
logger.debug("Returned XML: {}".format(metadata_xml))
|
||||
else:
|
||||
return metadata
|
||||
|
||||
|
@ -1267,12 +1265,9 @@ class PmsConnect(object):
|
|||
else:
|
||||
return metadata
|
||||
|
||||
logger.debug("Metadata: {}".format(metadata))
|
||||
# Get additional metadata from metadata.provider.plex.tv
|
||||
if not plex_guid and metadata['live']:
|
||||
logger.debug("Live TV guid: {}".format(metadata['guid']))
|
||||
plextv_metadata = self.get_metadata_details(plex_guid=metadata['guid'])
|
||||
logger.debug("metadata.provider.plex.tv metadata: {}".format(plextv_metadata))
|
||||
keys_to_update = ['summary', 'rating', 'thumb', 'grandparent_thumb', 'duration',
|
||||
'guid', 'grandparent_guid', 'genres']
|
||||
for key in keys_to_update:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue