Final fix for intros

This commit is contained in:
angelblue05 2015-09-16 10:28:22 -05:00
parent 3a7afedb6c
commit 97d4a99897

View file

@ -89,7 +89,12 @@ 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)
return xbmc.Player().play(playlist)
if xbmc.getCondVisibility("Window.IsActive(home)"):
# Widget workaround
return xbmc.Player().play(playlist)
else:
return playlist
playurl = PlayUtils().getPlayUrl(server, id, result) playurl = PlayUtils().getPlayUrl(server, id, result)