Posts: 56
Joined: Nov 2013
Reputation:
0
Hi,
is it possible to download a picture from an XBMC server, maybe similar like downloading covers (http://<your ip>:<configured port>/image/<url encoded image:// path>)?
Thanks,
Markus
Posts: 5,184
Joined: Jan 2009
Reputation:
131
What do you mean by picture?
Always read the
online manual (wiki),
FAQ (wiki) and search the forum before posting.
Do not e-mail Team Kodi members directly asking for support. Read/follow the
forum rules (wiki).
Please read the pages on
troubleshooting (wiki) and
bug reporting (wiki) before reporting issues.
Posts: 56
Joined: Nov 2013
Reputation:
0
Sorry, I'm talking about the photo library
Posts: 56
Joined: Nov 2013
Reputation:
0
Specifically, if I do a "Files.GetDirectory" on a folder with pictures, I get a list of picture files with the "file" property pointing to the exact path where the picture file is located on the server, but the "thumbnail" property is an empty string.
It looks like for the currently shown picture in the playlist a thumbnail is supplied.
I guess I could do a "Files.Download" but that transfers the high-res picture
Thanks,
Markus
Posts: 5,184
Joined: Jan 2009
Reputation:
131
Usually the "thumbnail" property is the poster of the media item (in full resolution) so it's probably just a very misleading naming issue in case of pictures. It only works for library items and we don't have a library for pictures.
Always read the
online manual (wiki),
FAQ (wiki) and search the forum before posting.
Do not e-mail Team Kodi members directly asking for support. Read/follow the
forum rules (wiki).
Please read the pages on
troubleshooting (wiki) and
bug reporting (wiki) before reporting issues.
Posts: 56
Joined: Nov 2013
Reputation:
0
Thanks for your answer. I actually found another way to get exactly what need, namely using the URL:
http://<server-address>/image/image://<URL encoded image path>/transform?size=thumb
This way I get a thumbnail of each image. One strange thing though I noticed: If I encode the "/" in my image path with "%2F" it does not work. If I encode it with "%252F" it works. Like double encoding the "%"??