diff --git a/README.md b/README.md index 9185f1f..7b42166 100644 --- a/README.md +++ b/README.md @@ -4,8 +4,10 @@ Make KODI autoplay some files in a folder. ## Istruzioni per Autoplay ## +### Video in rotazione ### + Spostare tutti i filmati necessari per la riproduzione in `Movies`. -Copiare lo script `autoexec.py` nel percorso `~/.kodi/userdata/autoexec.py`. +Copiare lo script `movies.py` nel percorso `~/.kodi/userdata/autoexec.py`. Modificare lo script per puntare al file (o ai file) necessari. diff --git a/autoexec.py b/movies.py similarity index 100% rename from autoexec.py rename to movies.py diff --git a/photo_slideshow.py b/photo_slideshow.py new file mode 100644 index 0000000..58ddd9c --- /dev/null +++ b/photo_slideshow.py @@ -0,0 +1,4 @@ +import xbmc + +path = "PathToYourMedia" +xbmc.executebuiltin(f'RecursiveSlideShow({path})')