2016-06-20, 10:22
Hi,
i´d like to start kodi with playling a .m3u playlist. I tried to create a script named "autoexec.py" at "C:\Users\[USER]\AppData\Roaming\Kodi\userdata" which contains:
The script is executed at startup but nothing happens. This is what the logfile says:
Can anyone help me?
i´d like to start kodi with playling a .m3u playlist. I tried to create a script named "autoexec.py" at "C:\Users\[USER]\AppData\Roaming\Kodi\userdata" which contains:
Code:
import xbmc
xbmc.executebuiltin( "PlayMedia(/home/pi/.kodi/userdata/playlists/video/startup.m3u)" )
xbmc.executebuiltin( "PlayerControl(repeat)" )
The script is executed at startup but nothing happens. This is what the logfile says:
Code:
10:21:13 T:4924 WARNING: CPythonInvoker(3): Script invoked without an addon. Adding all addon modules installed to python path as fallback. This behaviour will be removed in future version.
10:21:13 T:11208 ERROR: PlayMedia could not play media: /home/pi/.kodi/userdata/playlists/video/startup.m3u
Can anyone help me?