2016-05-25, 11:55
Hello,
I've installed openelec 6.0.3 on a raspberry pi 3.
The player starts automatically with a video playlist with the file autoexec.py located in /storage/.kodi/userdata/
import xbmc
xbmc.executebuiltin( "PlayMedia(/storage/.kodi/userdata/playlists/video/All.m3u)" )
xbmc.executebuiltin( "PlayerControl(repeat)" )
Now, I would like to mix pictures and videos automatically at startup but I don't know how to do it.
If i add a video or a picture in a network share, it would be great if the playlist is updated automatically.
Any ideas would be interesting.
sorry if the question has already been posted but I didn't find the answer on this forum.
I've installed openelec 6.0.3 on a raspberry pi 3.
The player starts automatically with a video playlist with the file autoexec.py located in /storage/.kodi/userdata/
import xbmc
xbmc.executebuiltin( "PlayMedia(/storage/.kodi/userdata/playlists/video/All.m3u)" )
xbmc.executebuiltin( "PlayerControl(repeat)" )
Now, I would like to mix pictures and videos automatically at startup but I don't know how to do it.
If i add a video or a picture in a network share, it would be great if the playlist is updated automatically.
Any ideas would be interesting.
sorry if the question has already been posted but I didn't find the answer on this forum.