Test Fix Freeze Riproduzione da Libreria

This commit is contained in:
Alhaziel01
2021-01-18 16:40:55 +01:00
parent ed3d959d5a
commit a1f0609fc8
2 changed files with 10 additions and 5 deletions

View File

@@ -450,14 +450,16 @@ def play_from_library(item):
import xbmcgui, xbmcplugin, xbmc
from time import sleep
# logger.debug("item: \n" + item.tostring('\n'))
import setting
platformtools.prevent_busy(item)
itemlist=[]
item.fromLibrary = True
item.window = True
logger.debug()
# logger.debug("item: \n" + item.tostring('\n'))
platformtools.prevent_busy(item)
# Modify the action (currently the video library needs "findvideos" since this is where the sources are searched
# Modify the action (currently the video library needs "findvideos" since this is where the sources are searched
item.action = "findvideos"
window_type = config.get_setting("window_type", "videolibrary")