Fixed a typo and an error in PeertubeDownloader's init function
This commit is contained in:
parent
db7984431b
commit
d38abc0bf6
|
@ -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)
|
||||
|
|
|
@ -15,7 +15,7 @@ class PeertubeDownloader(Thread):
|
|||
:return: None
|
||||
"""
|
||||
Thread.__init__(self)
|
||||
self.magnet_f
|
||||
self.magnet_f = magnet_f
|
||||
|
||||
def run(self):
|
||||
"""
|
||||
|
|
Loading…
Reference in New Issue