mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-25 02:06:09 +00:00
only use the additional play when launched from widget (home active)
This commit is contained in:
parent
d349207781
commit
cef2b67eba
1 changed files with 2 additions and 1 deletions
|
@ -117,6 +117,7 @@ class PlaybackUtils():
|
||||||
elif setup == "default":
|
elif setup == "default":
|
||||||
xbmcplugin.setResolvedUrl(int(sys.argv[1]), True, listItem)
|
xbmcplugin.setResolvedUrl(int(sys.argv[1]), True, listItem)
|
||||||
#artwork only works from widgets with both resolvedurl and player command
|
#artwork only works from widgets with both resolvedurl and player command
|
||||||
|
if xbmc.getCondVisibility("Window.IsActive(home)"):
|
||||||
xbmc.Player().play(playurl,listItem)
|
xbmc.Player().play(playurl,listItem)
|
||||||
|
|
||||||
def setArt(self, list,name,path):
|
def setArt(self, list,name,path):
|
||||||
|
|
Loading…
Reference in a new issue