xbmcplugin.addDirectoryItem and url issue - 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: xbmcplugin.addDirectoryItem and url issue (/showthread.php?tid=279959) |
xbmcplugin.addDirectoryItem and url issue - broman - 2016-06-16 I try to wite addon to browse photos from Synology photo station and facing issue with xbmcplugin.addDirectoryItem and url parameter. When url is "simple" like http://host/path/photo.jpg it is working fine and opening in kodi but when url is more complex like http://host/path/script.ext?query=params it just don't work, without errors. Thanks RE: xbmcplugin.addDirectoryItem and url issue - gedisony - 2016-06-17 The url parameter has to point to something that kodi can resolve. If the complex url returns an image(not http with image), video or music stream then it will work. if the complex url returns several images then you have to code your addon to parse/scrape the reply and put each of those images in their own addDirectoryItem RE: xbmcplugin.addDirectoryItem and url issue - broman - 2016-06-17 It returning image, here you have headers for request that is not working Code: HTTP/1.1 200 OK and request that is working Code: HTTP/1.1 200 OK |