Ryan Roth wrote:
> Here are a set of diffs to add this feature.  It is kind of an ugly hack.

Great but won't work when the main menu is longer than one page.

> [EMAIL PROTECTED] wrote:
>> Hi,
>> I have wrote this question to freevo feature tracker, but this is
>> probably
>> configuration question, than new feature, so I am posting it here.
>>
>> I don't know how to configure freevo to quit, when off button is
>> pressed on remote control. Using remote control is possible to go to
>> Main menu and there go to Quit and confirm it, but I don't know
>> straight way to do this by one button.
>>
>> Duncanwebb wrote this to my tracker item:
>> begin
>>     button = POWER
>>     prog   = freevo
>>     repeat = 3
>>     config = MENU
>> end
>>
>> This is my current setup, but it is not, what I want (it will go to
>> main menu,
>> but not quit freevo).
>>

Now that I understand what is wanted there may be other ways to do this.

First, with irexec you can execute any system command you like: freevo
stop for example.

>From the command line, a useful but little know option to freevo is
execute. For example you can type:
freevo execute /path/to/freevo/module.py

If this module has been written with a __main__ section then it may do
something useful. It may be possible to call the shutdown module.

Another approach is to add a SHUTDOWN event which then calls the
shutdown module.

Duncan


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Freevo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-users

Reply via email to