Kodi Community Forum
Detect when slideshow hits last image - 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: Detect when slideshow hits last image (/showthread.php?tid=165539)



Detect when slideshow hits last image - C_Classic - 2013-05-23

Hello everyone,

I am currently working on a client for Moebooru-based image boards. Listing and navigating through the images works fine but the user is only able to select one page (max.: 100 images) for a slideshow.
Is there a way to call a function when the slideshow hits the last image to load the next page?

Also slightly related to this:
When using "Recursive slideshow" XBMC crawls through all pages of the image board which would take days to complete. Is there a way to prevent that behaviour? Best would be if XBMC itself requested the next page just when needed (i.e. at the last image).

Thank you for your help!

- Markus