From 9432fee1ba69c0f78fb59e91bdd4b37ff63a1c83 Mon Sep 17 00:00:00 2001 From: JonnyWong16 <9099342+JonnyWong16@users.noreply.github.com> Date: Sat, 4 Dec 2021 13:06:53 -0800 Subject: [PATCH] Fix get_history when media_type == 'all' --- plexpy/webserve.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plexpy/webserve.py b/plexpy/webserve.py index 78a69063..6bd8fbe5 100644 --- a/plexpy/webserve.py +++ b/plexpy/webserve.py @@ -2015,7 +2015,7 @@ class WebInterface(object): custom_where.append(['session_history.section_id', section_id]) if 'media_type' in kwargs: 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]) if 'transcode_decision' in kwargs: transcode_decision = helpers.split_strip(kwargs.get('transcode_decision', ''))