def magnetToTorrent(self, magnet):
     try:
         from Libtorrent import Libtorrent
         torrent = Libtorrent(self.storageDirectory, magnet)
         torrent.magnetToTorrent(magnet)
         self.torrentFile = torrent.torrentFile
     except:
         self.torrentFile = magnet
     log('[AnteoLoader][magnetToTorrent]: self.torrentFile '+str(self.torrentFile))
Exemple #2
0
 def magnetToTorrent(self, magnet):
     try:
         from Libtorrent import Libtorrent
         torrent = Libtorrent(self.storageDirectory, magnet)
         torrent.magnetToTorrent(magnet)
         self.torrentFile = torrent.torrentFile
     except:
         self.torrentFile = magnet
     log('[AnteoLoader][magnetToTorrent]: self.torrentFile '+str(self.torrentFile))
 def magnetToTorrent(self, magnet):
     try:
         from Libtorrent import Libtorrent
         torrent = Libtorrent(self.storageDirectory, magnet)
         torrent.magnetToTorrent(magnet)
         self.torrentFile = torrent.torrentFile
         log('[AceStream][magnetToTorrent]: self.torrentFile '+str(self.torrentFile))
         return self.torrentFile
     except:
         magnet_alert()
         exit()
 def magnetToTorrent(self, magnet):
     try:
         from Libtorrent import Libtorrent
         torrent = Libtorrent(self.storageDirectory, magnet)
         torrent.magnetToTorrent(magnet)
         self.torrentFile = torrent.torrentFile
         log('[AceStream][magnetToTorrent]: self.torrentFile ' +
             str(self.torrentFile))
         return self.torrentFile
     except:
         magnet_alert()
         exit()