Fix Riproduzione

This commit is contained in:
Alhaziel01
2020-12-23 12:19:03 +01:00
parent 0a870f2e04
commit 6ad913ddea
2 changed files with 2 additions and 1 deletions

View File

@@ -473,6 +473,7 @@ def play_from_library(item):
# and launch kodi again
if xbmc.getCondVisibility('Window.IsMedia') and not window_type == 1:
# Conventional window
item.window = True
xbmc.executebuiltin("Container.Update(" + sys.argv[0] + "?" + item.tourl() + ")")
else:

View File

@@ -1036,7 +1036,7 @@ def set_player(item, xlistitem, mediaurl, view, strm):
logger.info("mediaurl=" + mediaurl)
if player_mode in [0,1]:
prevent_busy(item)
if player_mode in [1]: prevent_busy(item)
logger.info('Player Mode:' + ['Direct', 'Bookmark'][player_mode])
# Add the listitem to a playlist
playlist = xbmc.PlayList(xbmc.PLAYLIST_VIDEO)