From 4aba863c87c62386a003c05431fe80dba98bb77a Mon Sep 17 00:00:00 2001 From: angelblue05 Date: Fri, 26 Jan 2018 04:32:15 -0600 Subject: [PATCH] Fix resume --- resources/lib/playbackutils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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