What XBMC Dialog to use, to select given FanArt URL with Preview?
#1
Hello,

is there any chance to use a XBMC Select Diaglog and pass-on URL to FanArt which is then presented as a preview?

I only found the BrowsDialog, however this one requries to give a location rather then single URLs.

PX80
Reply
#2
Thread moved to add-on development.

The support section is for existing released (full or beta) add-ons.
|Banned add-ons (wiki)|Forum rules (wiki)|VPN policy (wiki)|First time user (wiki)|FAQs (wiki) Troubleshooting (wiki)|Add-ons (wiki)|Free content (wiki)|Debug Log (wiki)|

Kodi Blog Posts
Reply
#3
sure, when opening the select dialog, set the useDetails option to True.
that triggers the 'detailed' list in the select to be visible.
https://codedocs.xyz/xbmc/xbmc/group__py...0a5fdeaa4e

by default, the 'compact' list only shows labels.
the 'detailed' list shows both labels and icons.
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#4
thanks ronie, could you please provide an example where i have a list with urls to be given to a Select Dialog and want the URLs to be previewwed/shown
Reply
#5
python:
listitems = []
for url in urls:
    listitem = xbmcgui.ListItem(url)
    listitem.setArt({'thumb': url})
    listitems.append(listitem)
xbmcgui.Dialog().select(xbmc.getLocalizedString(20437), listitems, useDetails=True)
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply

Logout Mark Read Team Forum Stats Members Help
What XBMC Dialog to use, to select given FanArt URL with Preview?0