From 97d4a99897867db81cd2831ad1f70c25594bc2aa Mon Sep 17 00:00:00 2001 From: angelblue05 Date: Wed, 16 Sep 2015 10:28:22 -0500 Subject: [PATCH] Final fix for intros --- resources/lib/PlaybackUtils.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/resources/lib/PlaybackUtils.py b/resources/lib/PlaybackUtils.py index 4b3ce2f1..67264cb9 100644 --- a/resources/lib/PlaybackUtils.py +++ b/resources/lib/PlaybackUtils.py @@ -89,7 +89,12 @@ class PlaybackUtils(): if len(itemsToPlay) > 1: # Let's play the playlist 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)