From d9ba8c5658e1899e6209ce4e7678b6f744abae33 Mon Sep 17 00:00:00 2001 From: Intel1 <25161862+Intel11@users.noreply.github.com> Date: Tue, 10 Jul 2018 17:46:27 -0500 Subject: [PATCH] platformtools: fix reproducir desde descargas --- plugin.video.alfa/platformcode/platformtools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin.video.alfa/platformcode/platformtools.py b/plugin.video.alfa/platformcode/platformtools.py index 5ac86e8a..eafea016 100644 --- a/plugin.video.alfa/platformcode/platformtools.py +++ b/plugin.video.alfa/platformcode/platformtools.py @@ -608,6 +608,7 @@ def play_video(item, strm=False, force_direct=False, autoplay=False): logger.info() # logger.debug(item.tostring('\n')) logger.debug('item play: %s'%item) + xbmc_player = XBMCPlayer() if item.channel == 'downloads': logger.info("Reproducir video local: %s [%s]" % (item.title, item.url)) xlistitem = xbmcgui.ListItem(path=item.url) @@ -674,7 +675,6 @@ def play_video(item, strm=False, force_direct=False, autoplay=False): playlist.add(mediaurl, xlistitem) # Reproduce - xbmc_player = XBMCPlayer() xbmc_player.play(playlist, xlistitem) else: set_player(item, xlistitem, mediaurl, view, strm)