Gorka Olaizola wrote: > On Mon, Oct 16, 2006 at 08:57:54AM +0200, Hans Meine wrote: >> No, I am speaking about "[ freevo-Bugs-1577673 ] detach too much" - that >> user >> does not seem to have a STOP on his remote (I did not either until I bought >> a >> new one). (Great feature/fix however, the stop-on-video, thanks.) >> >> There should be a way to switch the auto-detaching off for those cases. >> > I'm affected by this too. I use my mobile phone as a bluetooth remote > with my plugin named Freevused and the "stop key" emits the EXIT event because > that way I can navigate through the menus with the play, stop and direction > keys. > I had to change the event that emits the "go to main menu key" to the event > STOP to be able to exit the music section cleanly.
The change that has affected this in audio/plugins/detach.py is: def __init__(self): ... config.EVENTS['audio']['DISPLAY'] = Event(FUNCTION_CALL, arg=self.detach) ... being changed to: def __init__(self): ... config.EVENTS['audio']['EXIT'] = Event(FUNCTION_CALL, arg=self.detach) ... One solution is to pass some args to the detach plug-in to control the activation, defaulted to 'EXIT' then it would be possible to plugin.remove plugin.activate in local_conf.py. Personally I quite like the new behaviour but I'm not using a phone to control freevo. (I'm using a Logitech 885 remote) Let me know what you think and would like to happen. Duncan ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Freevo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/freevo-devel
