Merge pull request #72 from ElAntonioB/play-from-local

Close dialogs before recursive call
pull/15/head
DiMartinoXBMC 2016-12-29 17:49:06 +03:00 committed by GitHub
commit 827b035630
1 changed files with 1 additions and 0 deletions

View File

@ -1397,6 +1397,7 @@ class Core:
self.__settings__.setSetting("lastTorrent", torrent.saveTorrent(url)) self.__settings__.setSetting("lastTorrent", torrent.saveTorrent(url))
self.__settings__.setSetting("lastTorrentUrl", url) self.__settings__.setSetting("lastTorrentUrl", url)
if url: if url:
xbmc.executebuiltin("Dialog.Close(all,true)")
xbmc.executebuiltin( xbmc.executebuiltin(
'XBMC.ActivateWindow(%s)' % 'Videos,plugin://plugin.video.torrenter/?action=%s&url=%s' 'XBMC.ActivateWindow(%s)' % 'Videos,plugin://plugin.video.torrenter/?action=%s&url=%s'
% ('torrentPlayer', url)) % ('torrentPlayer', url))