Dirk Meyer wrote: > Duncan Webb wrote: >> Hi dischi, >>> Hi, >>> >>> I changed the code in Freevo 1.x to use kaa.rpc2 instead of >>> kaa.rpc. Please test. If it works, I will move kaa.rpc2 to kaa.rpc in >>> kaa.base. >> >> It doesn't seem to work, in the recordserver log it says: > > Well, because connecting takes some time. I forgot that you execute > stuff directly. When Freevo is running, it should work. For your test > case, add 'kaa.inprogress(rc.channel).wait()' after rc is created in > main. That should work. A different idea is to replace > self.channel.status != kaa.rpc2.CONNECTED by > self.channel.status == kaa.rpc2.DISCONNECTED > > If it works, you have to do the same for the encoding server.
Ignore the last idea, changing it to DISCONNECTED will have side effects. The correct way is to wait using the inprogress. I added it to svn, please test Dischi -- I try to write idiot proof code, but they keep making better idiots. ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Freevo-devel mailing list Freevo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-devel