2018-06-05, 20:08
Hello,
for my new plugin I try to add the ability to display screenshots and artworks, like a picture add-on.
What I tried so far:
The debug log states it uses ff-mjpeg codec and duration is 00:00:00.04. Does it show the image for only 40 milliseconds?
How do I display an image properly? I saw other picture add-ons implementing a custom GUI for this purpose.
Debug log: https://gist.github.com/MrKrabat/0008139...255ad6d59f
for my new plugin I try to add the ability to display screenshots and artworks, like a picture add-on.
What I tried so far:
- display image from web or local storage with setResolvedUrl()
- display image from web or local storage with xbmc.Player().play()
- display image from web or local storage without callback and pass direct path with xbmcplugin.addDirectoryItem() as suggested here
The debug log states it uses ff-mjpeg codec and duration is 00:00:00.04. Does it show the image for only 40 milliseconds?
How do I display an image properly? I saw other picture add-ons implementing a custom GUI for this purpose.
Debug log: https://gist.github.com/MrKrabat/0008139...255ad6d59f