mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-06 05:01:14 -07:00
Fix get_history when media_type == 'all'
This commit is contained in:
parent
d5d3766f90
commit
9432fee1ba
1 changed files with 1 additions and 1 deletions
|
@ -2015,7 +2015,7 @@ class WebInterface(object):
|
||||||
custom_where.append(['session_history.section_id', section_id])
|
custom_where.append(['session_history.section_id', section_id])
|
||||||
if 'media_type' in kwargs:
|
if 'media_type' in kwargs:
|
||||||
media_type = helpers.split_strip(kwargs.get('media_type', ''))
|
media_type = helpers.split_strip(kwargs.get('media_type', ''))
|
||||||
if media_type:
|
if media_type and 'all' not in media_type:
|
||||||
custom_where.append(['media_type_live', media_type])
|
custom_where.append(['media_type_live', media_type])
|
||||||
if 'transcode_decision' in kwargs:
|
if 'transcode_decision' in kwargs:
|
||||||
transcode_decision = helpers.split_strip(kwargs.get('transcode_decision', ''))
|
transcode_decision = helpers.split_strip(kwargs.get('transcode_decision', ''))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue