Set full path in addon settings.xml
#1
In my addon settings I'm trying to add a button that will run an embedded script but I can not figure out how to pass the full path to RunScript(). I've tried using...

Code:
xbmc.translatePath(special://profile/addons/...)

but it doesn't seem to be working. Any ideas?
Reply
#2
runscript(special://home/addons/<yourid>/<script>) should do

addons are sadly not stored in the profile folder.
Reply
#3
spiff Wrote:runscript(special://home/addons/<yourid>/<script>) should do

addons are sadly not stored in the profile folder.

Haha... stupid me...

That worked! Thanks.
Reply

Logout Mark Read Team Forum Stats Members Help
Set full path in addon settings.xml0