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