Hi, thanks for response. I think I'm getting nearer to final solution. I will code Misterhouse code to act as xmlrpc server or maybe use already built in thinclient interface (why server? - cause I'd like to implement house network with Misterhouse as backend and different number and type of clients - one of them being Freevo).
So to play on Freevo side I'd like to start with two specific things and I would be more than happy if one can show me where to start ( I bet this is already coded somewhere in plugins): - core code for Freevo plugin that listens to TCP port or in another case to act as xmlrpc client - all this with possibility to somehow enter received data into structure that is accessible from other plugins... - core code to built menu under Freevo - maybe it would be most convenient and general way to define some xml file structure to define menus with actions in casual file and then Freevo adds them to menu structure. Misterhouse already has this and those menus can be used on Web, Wap, LCD, voice menus and other interfaces - all from one source file... In this way we could also give users possibility for easier addition/customization of Freevo to specific menus (without Python coding). In my case that xml file could be transferred over tcp, or xmlrpc or shared across network... And Rob, since you are making effort in Video groups direction. One interesting idea (at least I think so) would be to incorporate videlan client into this story. Simple video on demand scheme could be implemented. For instance: I have 2 webcams and one TV card in house and multiple instances of vlc can do live encoding and broadcasting of video stream - clients (Freevo) can just switch to this stream as "normal" channel. This could be also expanded to system of IP TV on some smaller community. Videolan has really good references and they are becoming reference platform for video streaming.... I know that Christophe wrote VLC plugin for Windows version of Freevo. I intend to try it , but didn't have time to do it... Thanks in advance, Regards, Robert. ----- Original Message ----- From: "Rob Shortt" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, December 07, 2003 4:10 PM Subject: Re: [Freevo-devel] Xmlrpc as Freevo's connection to other programs > Robert Rozman wrote: > > Hi, > > Hi. > > > maybe someone remember me occasionally discussing ways of connecting Freevo > > to other programs. I usually cook ideas until they are optimal for > > implementation :-) > > Sure do! > > > My last idea is to use xmlrpc. Since it is already in Freevo for record > > server maybe this could be optimal way. I'd like to connect Freevo with > > Misterhouse. I'd like to transfer following data: > > - Misterhouse would send home automation menus for Freevo to show in main > > menu under "House Control" > > - Freevo could send xmlrpc requests for data for idelbar plugins > > (temperatures, status) > > - Misterhouse could send live data to Freevo (status of home devices, > > temperatures, events, messages to display in mplayer or Freevo OSD, > > reminders, email status etc...) > > - Misterhouse could make Freevo to do things (like when there is visitor - > > Freevo could switch to frontdoor webcam)... > > Great ideas here. It sounds like you need both misterhouse and freevo > to act like a client AND server, they would both have listen ports for > xmlrpc requests. Having a client send an xmlrpc request to a server is > the trivial part. > > So, does misterhouse listen for xmlrpc requests already? If not, and > you would still like the freevo -> misterhouse connection to use xmlrpc > you will have to write a misterhouse component for that. If misterhouse > already has another way of listening for requests it might be easier to > write a python / Freevo component that you can import in a Freevo plugin > to talk to misterhouse. > > Right now the main Freevo interface does not listen for xmlrpc requests > at all. It might be best if there was a Misterhouse daemon plugin for > Freevo that did this task, which should be no problem. > > Misterhouse would need a method to connect to Freevo, it is able to > already send xmlrpc requests or would you need to write a plugin for the > Misterhouse side too? > > > There are probably some other ideas also, but I'm mostly interested in > > cleanest and easiest general way to incorporate this into Freevo. Since I'm > > more or less newbie to Python and Freevo some additional advice and pointer > > where to start (are there some skeleton codes for plugins ?) and probably > > some more help on Freevo side of connection would be more than welcome. > > I think you are on the right track. There is a plugin tutorial in the > docs to help you. If you need help along the way we will be happy to help. > > -Rob > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Freevo-devel mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/freevo-devel ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel
