mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-16 02:02:58 -07:00
Add Live TV history filter button
This commit is contained in:
parent
1699fc09cf
commit
81ab9b006d
3 changed files with 9 additions and 1 deletions
|
@ -1702,8 +1702,10 @@ class WebInterface(object):
|
|||
custom_where.append(['session_history_metadata.section_id', section_id])
|
||||
if 'media_type' in kwargs:
|
||||
media_type = kwargs.get('media_type', '')
|
||||
if media_type != 'all':
|
||||
if media_type not in ('all', 'live'):
|
||||
custom_where.append(['session_history.media_type', media_type])
|
||||
if media_type == 'live':
|
||||
kwargs['live'] = "1"
|
||||
if 'transcode_decision' in kwargs:
|
||||
transcode_decision = kwargs.get('transcode_decision', '')
|
||||
if transcode_decision:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue