autostart problem
#16
I just played with it and it seems the path is wrong. It works for me with the following:

Code:
import xbmc
xbmc.executebuiltin('PlayMedia(special://profile/playlists/music/test.m3u)')

with the normal path: ~/.kodi/userdata/playlists/music/test.m3u

it doesn´t work. So I have to take the way over "special://....."

please try with your own path. Your autoexec.py should look like this:

Code:
import xbmc
xbmc.executebuiltin('PlayMedia(special://profile/playlists/video/All.m3u)')
xbmc.executebuiltin('PlayerControl(repeat)')

And you don't need to make it executable. It works without being executable.
Reply
#17
Sorry for the necro but,

Code:
import xbmc
xbmc.executebuiltin("PlayMedia(/var/media/0MEDIA/0VIDEOS/,isdir)")
xbmc.executebuiltin("PlayerControl(RepeatAll)")
import os
os.system("/storage/.config/switch.sh")

Does not seem to autoplay the videos from my USB drive
Reply

Logout Mark Read Team Forum Stats Members Help
autostart problem0