diff --git a/peertube.py b/peertube.py index 8c18407..153e6a6 100755 --- a/peertube.py +++ b/peertube.py @@ -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) diff --git a/service.py b/service.py index a0d80b5..b11702b 100644 --- a/service.py +++ b/service.py @@ -15,7 +15,7 @@ class PeertubeDownloader(Thread): :return: None """ Thread.__init__(self) - self.magnet_f + self.magnet_f = magnet_f def run(self): """