Fixed an indentation issue in peertube.py + fixed an error when parsing the json result
of the call to api/v1/videos
This commit is contained in:
parent
4729397b16
commit
37f1b91d54
|
@ -58,7 +58,7 @@ class PeertubeAddon():
|
|||
|
||||
# Create a list for our items.
|
||||
listing = []
|
||||
for video in videos:
|
||||
for video in videos['data']:
|
||||
|
||||
# Create a list item with a text label
|
||||
list_item = xbmcgui.ListItem(label=video['name'])
|
||||
|
|
Loading…
Reference in New Issue