mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-08-14 02:26:58 -07:00
Add air date to tables for non-episodic Live TV
This commit is contained in:
parent
7ecc075c7e
commit
441e39d776
13 changed files with 73 additions and 23 deletions
|
@ -1961,6 +1961,10 @@ class PmsConnect(object):
|
|||
source_subtitle_details = next((p for p in source_media_part_streams if p['id'] == subtitle_id),
|
||||
next((p for p in source_media_part_streams if p['type'] == '3'), source_subtitle_details))
|
||||
|
||||
# Fake Live TV air date using added_at timestamp
|
||||
if stream_details['live'] and not metadata_details['originally_available_at']:
|
||||
metadata_details['originally_available_at'] = helpers.timestamp_to_iso_date(metadata_details['added_at'])
|
||||
|
||||
# Overrides for live sessions
|
||||
if stream_details['live'] and transcode_session:
|
||||
stream_details['stream_container_decision'] = 'transcode'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue