Add Live TV history filter button
This commit is contained in:
@@ -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:
|
||||
|
Reference in New Issue
Block a user