Had forgot a 'self' as argument of the play_video_continue function.

Addon seems to work now
This commit is contained in:
Famille Bollu 2018-07-27 18:40:24 +02:00
parent 0d63448e8f
commit 2d02a5c8ed
1 changed files with 1 additions and 1 deletions

View File

@ -110,7 +110,7 @@ class PeertubeAddon():
xbmcplugin.addSortMethod(__handle__, xbmcplugin.SORT_METHOD_LABEL_IGNORE_THE)
xbmcplugin.endOfDirectory(__handle__)
def play_video_continue(data):
def play_video_continue(self, data):
"""
Callback function to let the play_video function resume when the PeertubeDownloader
has downloaded all the torrent's metadata