Music playlist at startup in Dharma
#1
Right now i have an autoexec.py along with a playlist.py in my programs/xbmc/scripts folder and up until i ugraded to dharma xbmc would play a music playlist at startup. Now it doesnt work. Does anyone know if i just need to change the location of these files or do the files themselfs need to be edited? Any help would be GREATLY appreciated. I dont know much about scrips and have been pulling my hair out trying to get this to work again.


autoexec.py:

#execute targeted script at startup.
import xbmc
xbmc.executescript('c:\\program files\\xbmc\\scripts\\play_playlist.py')

play_playlist.py

import nt, xbmc, xbmcgui

file = 'c:\\users\\media center 2\\appdata\\roaming\\xbmc\\userdata\\playlists\\music\\MediaCenter Playlist.m3u'


xbmc.executebuiltin('xbmc.playmedia('+file+')')
xbmc.Player().play()
Reply

Logout Mark Read Team Forum Stats Members Help
Music playlist at startup in Dharma0