mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-11-10 04:06:11 +00:00
Fix some tuples
This commit is contained in:
parent
233192863a
commit
fd9cde6008
3 changed files with 3 additions and 3 deletions
|
@ -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)
|
||||
|
|
|
@ -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'))
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue