path for runscript on osx
#1
I am having a little play around with skins and trying to create a button which runs a script

the runscript command needs the full path but all the examples give xbox paths eg q:/scripts/myscript.py

I am just wondering what that would be on osx

or indeed how it could be done to work cross platform
Reply
#2
Q is going to point inside XBMC.app . "XBMC.app/Contents/Resources/XBMC" to be exact.

U points to "~/Library/Application Support/XBMC"

T points to "~/Library/Application Support/XBMC/userdata"

I would look at the Apple Movie Trailers python scripts, it seems to know how to get to Q, U and T without problems on all platforms.
Reply
#3
Sorry to revive an old thread.

Does Frodo still use these path references?

I downloaded the latest Apple Trailers add-on and dug through the python scripts in the plugin zip. I'm guessing the post above references an older version as I could find no similar path references.

I'm trying to add a relative path to scripts in keyboard.xml on Mac OS X. I'd prefer to use user data/scripts.
Reply
#4
See special:// paths
Read/follow the forum rules.
For troubleshooting and bug reporting, read this first
Interested in seeing some YouTube videos about Kodi? Go here and subscribe
Reply
#5
@Martijn

That worked. Thank you!
Reply

Logout Mark Read Team Forum Stats Members Help
path for runscript on osx0