mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-11-10 04:06:11 +00:00
Fix resume
This commit is contained in:
parent
6c1bd5cf47
commit
4aba863c87
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue