magnet fix

pull/1/head
DiMartinoXBMC 2015-12-20 16:50:45 +03:00
parent 659b1c8889
commit a8b1a9da1c
1 changed files with 2 additions and 2 deletions

View File

@ -220,10 +220,10 @@ class AnteoLoader:
try:
from Libtorrent import Libtorrent
torrent = Libtorrent(self.storageDirectory, magnet)
torrent.magnetToTorrent(self.magnetLink)
torrent.magnetToTorrent(magnet)
self.torrentFile = torrent.torrentFile
except:
self.torrentFile = self.magnetLink
self.torrentFile = magnet
log('[AnteoLoader][magnetToTorrent]: self.torrentFile '+str(self.torrentFile))
class AnteoPlayer(xbmc.Player):