parent
97d4a99897
commit
df685030d3
1 changed files with 1 additions and 6 deletions
|
@ -89,12 +89,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)
|
playlist = self.AddToPlaylist(itemsToPlay)
|
||||||
|
|
||||||
if xbmc.getCondVisibility("Window.IsActive(home)"):
|
|
||||||
# Widget workaround
|
|
||||||
return xbmc.Player().play(playlist)
|
return xbmc.Player().play(playlist)
|
||||||
else:
|
|
||||||
return playlist
|
|
||||||
|
|
||||||
playurl = PlayUtils().getPlayUrl(server, id, result)
|
playurl = PlayUtils().getPlayUrl(server, id, result)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue