setResolvedUrl() for pictures?
#1
Is setResolvedUrl() supposed to work for pictures?
It doesn't seem to. I have successfully used it with videos, but when trying to use it with images, it just tries to load the plugin:// path as if it were a normal URL.

Thanks in advance for any help on this.
Reply
#2
Yeah, it probably doesn't work as there is no player. You'd have to parse the URL, call the script etc. in CGUIWindowSlideShow (check the background image loader).
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#3
(2012-05-29, 21:18)ruuk Wrote: Is setResolvedUrl() supposed to work for pictures?
It doesn't seem to. I have successfully used it with videos, but when trying to use it with images, it just tries to load the plugin:// path as if it were a normal URL.

Thanks in advance for any help on this.
You could use this workaround:
Copy the image/images to a temp directory and start a slideshow on this dir.
Code:
xbmc.executebuiltin('SlideShow(DIR)')

Of course, you dont have to do this when trying to display an image from within an Image-Addon.

cheers,
asde
Reply

Logout Mark Read Team Forum Stats Members Help
setResolvedUrl() for pictures?0