Posts: 104
Joined: Sep 2008
Reputation:
0
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
Posts: 11,582
Joined: Feb 2008
Reputation:
84
davilla
Retired-Team-XBMC Developer
Posts: 11,582
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.
Posts: 5
Joined: Feb 2011
Reputation:
0
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.