mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-16 02:02:58 -07:00
Get additional Live TV metadata from metadata.provider.plex.tv
This commit is contained in:
parent
5d1bc3cf9b
commit
df851e67f9
5 changed files with 44 additions and 41 deletions
|
@ -223,10 +223,6 @@ class DataFactory(object):
|
|||
else:
|
||||
watched_status = 0
|
||||
|
||||
# Fake Live TV air date using added_at timestamp
|
||||
if item['live'] and not item['originally_available_at']:
|
||||
item['originally_available_at'] = helpers.timestamp_to_iso_date(item['added_at'])
|
||||
|
||||
# Rename Mystery platform names
|
||||
platform = common.PLATFORM_NAME_OVERRIDES.get(item['platform'], item['platform'])
|
||||
|
||||
|
@ -1060,10 +1056,6 @@ class DataFactory(object):
|
|||
else:
|
||||
section_name = ''
|
||||
|
||||
# Fake Live TV air date using added_at timestamp
|
||||
if item['live'] and not item['originally_available_at']:
|
||||
item['originally_available_at'] = helpers.timestamp_to_iso_date(item['added_at'])
|
||||
|
||||
directors = item['directors'].split(';') if item['directors'] else []
|
||||
writers = item['writers'].split(';') if item['writers'] else []
|
||||
actors = item['actors'].split(';') if item['actors'] else []
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue