diff --git a/resources/lib/monitor.py b/resources/lib/monitor.py index 5d583b2d..eab1d72c 100644 --- a/resources/lib/monitor.py +++ b/resources/lib/monitor.py @@ -69,7 +69,7 @@ class Monitor(xbmc.Monitor): elif sender.startswith('upnextprovider'): method = method.split('.')[1] - if method not in ('plugin.video.jellyfin_play_action'): + if method not in ('plugin.video.jellyfin_play_action',): return data = json.loads(data) diff --git a/resources/lib/objects/actions.py b/resources/lib/objects/actions.py index 1112fb3b..2b88ca56 100644 --- a/resources/lib/objects/actions.py +++ b/resources/lib/objects/actions.py @@ -238,7 +238,7 @@ class Actions(object): obj['Artwork'] = API.get_all_artwork(objects.map(item, 'Artwork')) self.listitem_photo(obj, listitem, item) - elif item['Type'] in ('TvChannel'): + elif item['Type'] in ('TvChannel',): obj = objects.map(item, 'BrowseChannel') obj['Artwork'] = API.get_all_artwork(objects.map(item, 'Artwork')) diff --git a/resources/lib/views.py b/resources/lib/views.py index 0ebc5773..1e6b8901 100644 --- a/resources/lib/views.py +++ b/resources/lib/views.py @@ -250,7 +250,7 @@ class Views(object): if view['Media'] in ('movies', 'tvshows', 'musicvideos'): self.add_playlist(playlist_path, view) - if view['Media'] not in ('music'): + if view['Media'] not in ('music',): self.add_nodes(node_path, view) index += 1