Hello together,
i have in my python script some lists. And with “for each” i can read all items in the lists and for example show it in console with print.
I wanna show just everything from the lists in a Window on Kodi. But idk what I use for that from xbmcgui and how i use it the best.
Here some idea that I have (not working, and stupid with the dialog.notification that i call in the loop)
Does anyone can give me maybe a hint?
Code:
for each in myjson['result']:
listspeed.append( each['downloadSpeed'] )
listcompleted.append(each['completedLength'])
listtotal.append( each['totalLength'] )
for each1 in each['files']:
listpath.append( each1['path'] )
dialog = xbmcgui.Dialog()
dialog.notification(filename, pcentdspeed , xbmcgui.NOTIFICATION_INFO, 5000)