Don't include Live TV with Movies / TV Shows history filter
This commit is contained in:
@@ -1704,8 +1704,9 @@ class WebInterface(object):
|
|||||||
media_type = kwargs.get('media_type', '')
|
media_type = kwargs.get('media_type', '')
|
||||||
if media_type not in ('all', 'live'):
|
if media_type not in ('all', 'live'):
|
||||||
custom_where.append(['session_history.media_type', media_type])
|
custom_where.append(['session_history.media_type', media_type])
|
||||||
|
kwargs['live'] = '0'
|
||||||
if media_type == 'live':
|
if media_type == 'live':
|
||||||
kwargs['live'] = "1"
|
kwargs['live'] = '1'
|
||||||
if 'transcode_decision' in kwargs:
|
if 'transcode_decision' in kwargs:
|
||||||
transcode_decision = kwargs.get('transcode_decision', '')
|
transcode_decision = kwargs.get('transcode_decision', '')
|
||||||
if transcode_decision:
|
if transcode_decision:
|
||||||
|
Reference in New Issue
Block a user