picture plugin question: how to display the picture from an image URL?
#3
I tried the same, but with the XBMCSourcePlugin:
If it create the directory item:
python:

plugin = XBMCSourcePlugin()

...

        plugin.addDirectoryItem(url=thumb+"|"+cookies, listitem=listitem,  isFolder=False)
Where the thumb is the whole url for the image with query string:
and the cookies is the cookies for the request.
The item is showing but after the select do nothing (I hear the sound). I pass thru an debug proxy, and not even call the url.

If I change the url to inner call and created a new function to show the image:
python:

        xbmc.executebuiltin('ShowPicture(%s|%s)'%(url,cookies))
is working.
(with this solution I have many problem:
1, cant go to the next picture
2, i'd like to use the plugin.getSetting('server'), but in this case (only in this case) give back nothing, look like need somewhere an extra parameter?)

thanks for any help
Reply


Messages In This Thread
RE: picture plugin question: how to display the picture from an image URL? - by ignisVeneficus - 2021-01-26, 14:24
Logout Mark Read Team Forum Stats Members Help
picture plugin question: how to display the picture from an image URL?0