Re: [Freevo-users] Support for QUIT command

2006-12-21 Thread Ryan Roth
I took Duncan's advice and made it into one patch file not two, and I fixed a small error. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opi

Re: [Freevo-users] Support for QUIT command

2006-12-21 Thread Ryan Roth
I just submitted a much better version for SVN commit. It uses menu name matching to select the right item. Ryan Roth wrote: > Also I noticed when I had DEBUG=1 set that a lot of the main menu items > identify themselves so that they can be called with > GOTO_MEDIA_MENU("whatever"), is there

Re: [Freevo-users] Support for QUIT command

2006-12-20 Thread Ryan Roth
Also I noticed when I had DEBUG=1 set that a lot of the main menu items identify themselves so that they can be called with GOTO_MEDIA_MENU("whatever"), is there a way to make shutdown.py identify itself in this same manner? Thanks -

Re: [Freevo-users] Support for QUIT command

2006-12-20 Thread Ryan Roth
OK I looked at it. The hard part is calling shutdown.py from menu.py If I could figure that part out I could easily write the whole plugin. I know how to add the MENU_GOTO_QUIT to menu.py, but I would really like to call the Shutdown menu item and let it take over from there. Any suggestions?

Re: [Freevo-users] Support for QUIT command

2006-12-20 Thread Duncan Webb
Ryan Roth wrote: > > Thanks > > Duncan Webb wrote: >> 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 ha

Re: [Freevo-users] Support for QUIT command

2006-12-20 Thread Ryan Roth
Ok. Try the one I made. I wanted to call the shutdown item just like the video items, but there was no way that I could find to do it. That would be the ideal way of doing it so that you still get prompted like usual for a shutdown confirmation. So I think the SHUTDOWN event would be the w

Re: [Freevo-users] Support for QUIT command

2006-12-20 Thread Duncan Webb
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 questio

Re: [Freevo-users] Support for QUIT command

2006-12-20 Thread Ryan Roth
Here are a set of diffs to add this feature. It is kind of an ugly hack. Ryan [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 qui

[Freevo-users] Support for QUIT command

2006-12-20 Thread jezz
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 the