Hi, i’m fairly new to Kodi and really appreciate anyone who can help me out.
Here’s the situation. I’ve installed Kodi v17.1 on a windows machine (Intel NUC) and it works great, now i want it to autoplay from a shared folder locally on the machine, because it needs to play every video in this folder on loop 24/7 for digital signage.
I have almost achieved this using this python script
Code:
import xbmc
xbmc.executebuiltin('xbmc.PlayMedia("C:\Loopreel\","isdir")')
xbmc.executebuiltin('xbmc.PlayerControl(repeatall)')
xbmc.executebuiltin("Action(Fullscreen)")
This works well, however if i add new videos to the shared folder, i have to restart Kodi completely for it to play the new videos.
Is there a way to make Kodi check for new videos in the folder on every loop?