mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-24 17:56:11 +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":
|
||||
xbmcplugin.setResolvedUrl(int(sys.argv[1]), True, listItem)
|
||||
#artwork only works from widgets with both resolvedurl and player command
|
||||
if xbmc.getCondVisibility("Window.IsActive(home)"):
|
||||
xbmc.Player().play(playurl,listItem)
|
||||
|
||||
def setArt(self, list,name,path):
|
||||
|
|
Loading…
Reference in a new issue