From baa9ff80fedf5106e08b1bd4add3f96f39f97a85 Mon Sep 17 00:00:00 2001 From: Blacktwin Date: Tue, 1 Jan 2019 09:43:30 -0500 Subject: [PATCH] allowing for multiple media type playlist --- fun/playlist_manager.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fun/playlist_manager.py b/fun/playlist_manager.py index af02d5d..2ad5f90 100644 --- a/fun/playlist_manager.py +++ b/fun/playlist_manager.py @@ -253,7 +253,7 @@ def get_content(library_name, jbop, filters=None, search=None): filter_lst = [movie.ratingKey for movie in plex_library.search(**filters)] child_lst += filter_lst if keyword and filters: - child_lst = list(set(filter_lst) & set(search_lst)) + child_lst += list(set(filter_lst) & set(search_lst)) elif library_type == 'show': if keyword: @@ -267,7 +267,7 @@ def get_content(library_name, jbop, filters=None, search=None): filter_lst += [episode.ratingKey] child_lst += filter_lst if keyword and filters: - child_lst = list(set(filter_lst) & set(search_lst)) + child_lst += list(set(filter_lst) & set(search_lst)) else: pass