diff --git a/resources/lib/playbackutils.py b/resources/lib/playbackutils.py index b78c50a7..49040084 100644 --- a/resources/lib/playbackutils.py +++ b/resources/lib/playbackutils.py @@ -89,8 +89,8 @@ class PlaybackUtils(object): self.stack[0][1].setPath(self.stack[0][0]) try: if (not xbmc.getCondVisibility('Window.IsMedia') and - (self.item['Type'] == "Audio" and not xbmc.getCondVisibility('Integer.IsGreater(Playlist.Length(music),1)')) or - (not xbmc.getCondVisibility('Integer.IsGreater(Playlist.Length(video),1)'))): + ((self.item['Type'] == "Audio" and not xbmc.getCondVisibility('Integer.IsGreater(Playlist.Length(music),1)')) or + not xbmc.getCondVisibility('Integer.IsGreater(Playlist.Length(video),1)'))): # widgets do not fill artwork correctly log.info("Detected widget.") raise IndexError