From 8cb1b2326047bf46bfe79b012e664517cc64256d Mon Sep 17 00:00:00 2001 From: DiMartinoXBMC Date: Thu, 22 Dec 2016 21:25:21 +0300 Subject: [PATCH] fix back --- Anteoloader.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Anteoloader.py b/Anteoloader.py index 401c903..b1676ab 100644 --- a/Anteoloader.py +++ b/Anteoloader.py @@ -324,7 +324,7 @@ class AnteoPlayer(xbmc.Player): self.localize('Stopping the torrent2http process...'), forced=True) break - self.stop() + xbmc.Player().stop() if '1' != self.__settings__.getSetting("keep_files") and 'Saved Files' not in self.userStorageDirectory: xbmc.sleep(1000) @@ -520,7 +520,8 @@ class AnteoPlayer(xbmc.Player): listitem = self.get('listitem') listitem.setPath(url) - self.play(url, listitem) + player = xbmc.Player() + player.play(url, listitem) xbmc.sleep(2000) # very important, do not edit this, podavan i = 0