diff --git a/resources/lib/PlaybackUtils.py b/resources/lib/PlaybackUtils.py index 4b3ce2f1..402fa1ca 100644 --- a/resources/lib/PlaybackUtils.py +++ b/resources/lib/PlaybackUtils.py @@ -88,8 +88,7 @@ class PlaybackUtils(): if len(itemsToPlay) > 1: # Let's play the playlist - playlist = self.AddToPlaylist(itemsToPlay) - return xbmc.Player().play(playlist) + return self.AddToPlaylist(itemsToPlay) playurl = PlayUtils().getPlayUrl(server, id, result) @@ -444,7 +443,7 @@ class PlaybackUtils(): item_data = jsonData self.addPlaylistItem(playlist, item_data, server, userid) - return playlist + xbmc.Player().play(playlist) def addPlaylistItem(self, playlist, item, server, userid):