Show List in Dialog?
#1
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)
Reply
#2
xbmcgui.Dialog class provides various kinds of dialogs, including single-select and multi-select lists. Please read the docs: https://codedocs.xyz/xbmc/xbmc/group__py...ialog.html
Reply
#3
I created a post about an addon to test functions of xbmcgui.Dialog if you are interested
http://forum.kodi.tv/showthread.php?tid=311491
Reply

Logout Mark Read Team Forum Stats Members Help
Show List in Dialog?0