Fix Riproduzione Torrent da ricerca Globale

This commit is contained in:
Alhaziel01
2021-11-05 12:27:52 +01:00
parent fdcc00d69e
commit c1efb6db57

View File

@@ -1505,7 +1505,7 @@ def play_torrent(item, xlistitem, mediaurl):
torrent.elementum_download(item)
else:
if item.fromLibrary and item.play_from == 'window':
if (item.fromLibrary and item.play_from == 'window') or item.window:
xlistitem.setPath(torrent_options[selection][1] % mediaurl)
playlist = xbmc.PlayList(xbmc.PLAYLIST_VIDEO)
playlist.clear()