mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-25 18:26:15 +00:00
parent
df685030d3
commit
05e421415f
1 changed files with 2 additions and 3 deletions
|
@ -88,8 +88,7 @@ class PlaybackUtils():
|
||||||
|
|
||||||
if len(itemsToPlay) > 1:
|
if len(itemsToPlay) > 1:
|
||||||
# Let's play the playlist
|
# Let's play the playlist
|
||||||
playlist = self.AddToPlaylist(itemsToPlay)
|
return self.AddToPlaylist(itemsToPlay)
|
||||||
return xbmc.Player().play(playlist)
|
|
||||||
|
|
||||||
playurl = PlayUtils().getPlayUrl(server, id, result)
|
playurl = PlayUtils().getPlayUrl(server, id, result)
|
||||||
|
|
||||||
|
@ -444,7 +443,7 @@ class PlaybackUtils():
|
||||||
item_data = jsonData
|
item_data = jsonData
|
||||||
self.addPlaylistItem(playlist, item_data, server, userid)
|
self.addPlaylistItem(playlist, item_data, server, userid)
|
||||||
|
|
||||||
return playlist
|
xbmc.Player().play(playlist)
|
||||||
|
|
||||||
def addPlaylistItem(self, playlist, item, server, userid):
|
def addPlaylistItem(self, playlist, item, server, userid):
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue