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:
Famille Bollu 2018-07-26 21:44:13 +02:00
parent 4729397b16
commit 37f1b91d54
1 changed files with 6 additions and 6 deletions

View File

@ -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'])