mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-26 02:36:10 +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])
|
self.stack[0][1].setPath(self.stack[0][0])
|
||||||
try:
|
try:
|
||||||
if (not xbmc.getCondVisibility('Window.IsMedia') and
|
if (not xbmc.getCondVisibility('Window.IsMedia') and
|
||||||
(self.item['Type'] == "Audio" and not xbmc.getCondVisibility('Integer.IsGreater(Playlist.Length(music),1)')) or
|
((self.item['Type'] == "Audio" and not xbmc.getCondVisibility('Integer.IsGreater(Playlist.Length(music),1)')) or
|
||||||
(not xbmc.getCondVisibility('Integer.IsGreater(Playlist.Length(video),1)'))):
|
not xbmc.getCondVisibility('Integer.IsGreater(Playlist.Length(video),1)'))):
|
||||||
# widgets do not fill artwork correctly
|
# widgets do not fill artwork correctly
|
||||||
log.info("Detected widget.")
|
log.info("Detected widget.")
|
||||||
raise IndexError
|
raise IndexError
|
||||||
|
|
Loading…
Reference in a new issue