in classes, callback functions should be specified self.callbackfunction and not just

callbackfunction (this time in the peertubeAddon class)
This commit is contained in:
Famille Bollu 2018-07-26 21:59:50 +02:00
parent d38abc0bf6
commit dcddedf299
1 changed files with 1 additions and 1 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', self.play_video_continue)
while self.play == 0:
xbmc.sleep(1000)
xbmc.sleep(3000)