in classes, callback functions should be specified self.callbackfunction and not just
callbackfunction (this time in the peertubeAddon class)
This commit is contained in:
parent
d38abc0bf6
commit
dcddedf299
|
@ -135,7 +135,7 @@ class PeertubeAddon():
|
||||||
AddonSignals.sendSignal('start_download', {'magnet_f': magnet_f})
|
AddonSignals.sendSignal('start_download', {'magnet_f': magnet_f})
|
||||||
|
|
||||||
# Wait until the PeerTubeDownloader has downloaded all the torrent's metadata + a little bit more
|
# 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:
|
while self.play == 0:
|
||||||
xbmc.sleep(1000)
|
xbmc.sleep(1000)
|
||||||
xbmc.sleep(3000)
|
xbmc.sleep(3000)
|
||||||
|
|
Loading…
Reference in New Issue