Fixed a typo and an error in PeertubeDownloader's init function

This commit is contained in:
Famille Bollu 2018-07-26 21:57:00 +02:00
parent db7984431b
commit d38abc0bf6
2 changed files with 2 additions and 2 deletions

View File

@ -135,7 +135,7 @@ class PeertubeAddon():
AddonSignals.sendSignal('start_download', {'magnet_f': magnet_f})
# Wait until the PeerTubeDownloader has downloaded all the torrent's metadata + a little bit more
AddonSignals.RegisterSlot('plugin.video.peertube', 'metadata_downloaded', play_video_continue)
AddonSignals.registerSlot('plugin.video.peertube', 'metadata_downloaded', play_video_continue)
while self.play == 0:
xbmc.sleep(1000)
xbmc.sleep(3000)

View File

@ -15,7 +15,7 @@ class PeertubeDownloader(Thread):
:return: None
"""
Thread.__init__(self)
self.magnet_f
self.magnet_f = magnet_f
def run(self):
"""