mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-11-10 12:16:12 +00:00
Changed playback method detection (#123)
This commit is contained in:
parent
d3d9721d6c
commit
a9e4cebed4
1 changed files with 2 additions and 2 deletions
|
@ -88,8 +88,8 @@ class PlaybackUtils(object):
|
||||||
# Stack: [(url, listitem), (url, ...), ...]
|
# Stack: [(url, listitem), (url, ...), ...]
|
||||||
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.IsVisible(MyVideoNav.xml)') and
|
if (not xbmc.getCondVisibility('Window.IsMedia') and
|
||||||
not xbmc.getCondVisibility('Window.IsVisible(VideoFullScreen.xml)')):
|
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