Dirk Meyer wrote: > Duncan Webb wrote: >> Gorka Olaizola wrote: >>> On Fri, Nov 23, 2007 at 07:46:00PM +0100, Duncan Webb wrote: >>>> By replacing the calls with timer, I've converted the upsoon plug-in for >>>> kaa.notifier's timer calls and rpc calls. >>>> >>> I'm trying to update freevused plugin based on the upsoon changes >>> but I don't understand what to do. I suppose I have to change the poll >>> and eventhandler methods with the kaa.notifier Timer register method >>> but I have two problems. >>> >>> It seems, based on the documentation, that Timer supports a resolution >>> of seconds. It could be enough but it seems too much for input handling. >> Timer start() takes a floating point number, so you can call start(0.1) >> for 1/10 second. > > Besides Timer you can also use a SocketDispatcher that will wake up > when something is happening on a socket without you polling. > >> I'm having a problem with events that are posted from with plug-ins, >> such as the IDENTIFY_MEDIA from the rom_drives plug-in, it doesn't seem >> to get posted, which means that the DVD or audio CD don't start playing. >> >> May be dischi can help, whith this one. > > Do you still use the Freevo event code or the notifier based copy?
AFAICS it is the notifier based code, it is the stuff that you changed for 1.7. The only thing a bit special about the rom_drives module is that it uses a thread. That does the return value from an event handler mean? Duncan ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Freevo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/freevo-devel
