From 9193b1463893f4a2ec7a3aae28fb7d3a7eef93ae Mon Sep 17 00:00:00 2001 From: DiMartinoXBMC Date: Mon, 9 Jan 2017 19:56:18 +0300 Subject: [PATCH] fixes --- Core.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Core.py b/Core.py index 86e517f..e7e28fe 100644 --- a/Core.py +++ b/Core.py @@ -1546,6 +1546,7 @@ class Core: get = params.get xbmc.executebuiltin('xbmc.Playlist.Clear') url = unquote(get("url"), None) + url2 = unquote(get("url2"), None) fileIndex = unquote(get("index"), None) if url: self.__settings__.setSetting("lastTorrentUrl", url) @@ -1559,6 +1560,7 @@ class Core: if fileIndex == None: fileIndex = chooseFile(torrent.getContentList()) if fileIndex: params = {'url': fileIndex, 'filename': filename} + if url2: params['url2'] = url2 self.playTorrent(params) #xbmc.executebuiltin('xbmc.RunPlugin("plugin://plugin.video.torrenter/?action=playTorrent&url=%s' % (fileIndex))