mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-14 09:12: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
|
@ -329,10 +329,6 @@ class Libraries(object):
|
|||
else:
|
||||
library_thumb = common.DEFAULT_COVER_THUMB
|
||||
|
||||
# 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'])
|
||||
|
||||
row = {'section_id': item['section_id'],
|
||||
'section_name': item['section_name'],
|
||||
'section_type': item['section_type'],
|
||||
|
@ -913,10 +909,6 @@ class Libraries(object):
|
|||
else:
|
||||
thumb = row['thumb']
|
||||
|
||||
# Fake Live TV air date using added_at timestamp
|
||||
if row['live'] and not row['originally_available_at']:
|
||||
row['originally_available_at'] = helpers.timestamp_to_iso_date(row['added_at'])
|
||||
|
||||
recent_output = {'row_id': row['id'],
|
||||
'media_type': row['media_type'],
|
||||
'rating_key': row['rating_key'],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue