mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-25 10:16:11 +00:00
Final fix for intros
This commit is contained in:
parent
3a7afedb6c
commit
97d4a99897
1 changed files with 6 additions and 1 deletions
|
@ -89,7 +89,12 @@ class PlaybackUtils():
|
||||||
if len(itemsToPlay) > 1:
|
if len(itemsToPlay) > 1:
|
||||||
# Let's play the playlist
|
# Let's play the playlist
|
||||||
playlist = self.AddToPlaylist(itemsToPlay)
|
playlist = self.AddToPlaylist(itemsToPlay)
|
||||||
return xbmc.Player().play(playlist)
|
|
||||||
|
if xbmc.getCondVisibility("Window.IsActive(home)"):
|
||||||
|
# Widget workaround
|
||||||
|
return xbmc.Player().play(playlist)
|
||||||
|
else:
|
||||||
|
return playlist
|
||||||
|
|
||||||
playurl = PlayUtils().getPlayUrl(server, id, result)
|
playurl = PlayUtils().getPlayUrl(server, id, result)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue