From d38abc0bf61f3811d88891f26deeab328c5a744d Mon Sep 17 00:00:00 2001 From: Famille Bollu Date: Thu, 26 Jul 2018 21:57:00 +0200 Subject: [PATCH] Fixed a typo and an error in PeertubeDownloader's init function --- peertube.py | 2 +- service.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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): """