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: try:
from Libtorrent import Libtorrent from Libtorrent import Libtorrent
torrent = Libtorrent(self.storageDirectory, magnet) torrent = Libtorrent(self.storageDirectory, magnet)
torrent.magnetToTorrent(self.magnetLink) torrent.magnetToTorrent(magnet)
self.torrentFile = torrent.torrentFile self.torrentFile = torrent.torrentFile
except: except:
self.torrentFile = self.magnetLink self.torrentFile = magnet
log('[AnteoLoader][magnetToTorrent]: self.torrentFile '+str(self.torrentFile)) log('[AnteoLoader][magnetToTorrent]: self.torrentFile '+str(self.torrentFile))
class AnteoPlayer(xbmc.Player): class AnteoPlayer(xbmc.Player):