Possible to run a script when Videos is accessed?
#1
I have a script to remotely wake up my media server via WOL named autoexec.py that runs when XBMC is started. Works fine.

Then I thought of possibly streamlining this further and having the script only run when Videos is accessed. Is this possible?
#2
Yes, but it'd require manually editing your skin files. The idea is to have the Videos button start your script - the script wakes your server, then switches the display to the actual Videos menu.

(... at least, I'm pretty sure scripts can change the active window...)
XBMC Manual - BlackBolt - SVN Guide - Skin SVN - Wide Icon SVN - ROM Shortcut Generator
You're just jealous 'cause the voices only talk to me :P
#3
Bomb Bloke Wrote:Yes, but it'd require manually editing your skin files. The idea is to have the Videos button start your script - the script wakes your server, then switches the display to the actual Videos menu.

(... at least, I'm pretty sure scripts can change the active window...)

Thanks, when I get some time I'll have to do some tinkering

Logout Mark Read Team Forum Stats Members Help
Possible to run a script when Videos is accessed?0