setResolvedUrl() for pictures? - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32) +--- Forum: Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=26) +--- Thread: setResolvedUrl() for pictures? (/showthread.php?tid=132701) |
setResolvedUrl() for pictures? - ruuk - 2012-05-29 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. RE: setResolvedUrl() for pictures? - jmarshall - 2012-05-30 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). RE: setResolvedUrl() for pictures? - AddonScriptorDE - 2012-06-19 (2012-05-29, 21:18)ruuk Wrote: Is setResolvedUrl() supposed to work for pictures?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 |