PDA

View Full Version : running script by pressing a remote button when in TV mode



happyhammer
13-08-2010, 07:11 PM
when pressing the **** button in TV mode, you can bring up the ecm info.
It would be great if we could run a user script by say pressing the << button in tV mode. Can this only be done in firmware?


I specifically would like to run morsers epg that comes with the KDG firmware , at present, if you run it from TakeControl Panel your stuck there waiting for it to complete. If you run it from telnet directly, you can still watch the TV whiles the script is running.

Oh , if anyone else uses this , my epg was not being updated bcause the old rytecxmltvuk still existed. i just added two lines to remove the old rytec files first,, getepg.sh is now this:

#!/bin/sh

cd /DATA/usb1/sda1/XMLTV
rm rytec*
cd /PLUGINS/PanelKGD/epg
nice -19 ./getepg -d2

pr2
14-08-2010, 09:08 AM
Hello,

You can use the OpenXCAS to run any script you want.

Simply create a "fake" Plugin in OpenXCAS and then with the next chapter key of the remote ( > > |) you can launch it.

I have done this a few time ago with the old epgmgr version.

So you can find inspiration by looking at this:



h__p://w_w.azboxforum.be/viewtopic.php?f=47&t=2073


Explanation are in French but the important point for you are the files.

Pr2

happyhammer
14-08-2010, 10:50 AM
thanks, that is a great simple solution. works a treat.