2023-06-25, 10:26
(2023-06-24, 18:17)Hitcher Wrote: @jurialmunkey small request if I may. Any chance of adding a slideshow when clicking on an image like script.embuary.info had please?
Here's the code sualfred used when he added it -
https://github.com/sualfred/script.embua...4f2164ee0c
Cheers.
Any reason why you can't just open the slideshow for the path using the builtin function? I like to avoid hardcoding actions if possible because I find it limits options.
e.g. Any reason you can't do this?
xml:
<onclick>SlideShow(plugin://plugin.video.themoviedb.helper/?tmdb_id=$INFO[ListItem.Property(tmdb_id)]&tmdb_type=movie&info=fanart,beginslide=$INFO[Container(ID).ListItem.PicturePath])</onclick>
That's for fanart obviously but info=posters and info=images should work too. Not sure exactly how your container is setup but basic syntax is
SlideShow(Container.FolderPath,beginslide=ListItem.PicturePath)