2011-01-14, 11:26
What about shortcuts?
Is it possible to apply a special key that launches the script?
So, we could assign a Key to a remote that sends a "Launch the script"-Shortcut / Key
---
Edit:
I will give that I try, thanks Harro!
Is it possible to apply a special key that launches the script?
So, we could assign a Key to a remote that sends a "Launch the script"-Shortcut / Key
---
Edit:
Harro Wrote:So something that would trigger the CE from the library view to play movie. Correct.
I have been playing around with it also, Will let you know what I come up with.
So you can open up the C:\Program Files (x86)\XBMC\system\keymaps and make a copy of the keyboard.xml
then find a key you would like to use, example
Code:<k>XBMC.RunScript(special://home/addons/script.cinema.experience/addon.py)</k>
Now when hitting the k button in library view of any movie the CE will start before hand. If you use a remote you may need to find a key that also will work on the remote.
Example would be the play <p>Play</p>
changing that toCode:<p>XBMC.RunScript(special://home/addons/script.cinema.experience/addon.py)</p>
but that in turn would make the CE start before anything you play...TV, Music & Movies, so pick another key that you dont use but can use for a remote. Hope that makes sense.
I will give that I try, thanks Harro!