It was a record_server specific thing. Many of the commands used the
record_server took python objects that have been encoded by twisted's
marmalade procedure. This allows the record_server and record_client to
pass python objects back and forth. Unfortunately marmalade has only  a
python implementation. So if you wanted to call some of the procedures
that use marmaladed objects you need to using python. Since several of
the procedures i wanted to call used marmaladed objects i went back to
using python for my app.

This may not be an issue for you since you are starting out being cross
language you can design your rpcxml server ( I assume it will be a
daemonplugin) to just use ascii strings and integers. I would watch out
if you intend to do anything unicode because as far as i can tell
twisted's rpcxml base which we use for the record server is not unicode
friendly everywhere. (one of the reasons for the long standing bug where
you can't have a favorite with a non ascii character in it, but you can
record such shows one off because marmalade deals with it somehow.)

The perl code i dropped very quickly because of the marmalade issue.
Basically after the initial test. I got all xml back but the marmalade
sections xml was very weird and hard to deal with. That perl code is not
really worth posting.

Mike

On Sat, 2003-12-06 at 14:22, Robert Rozman wrote:
> To: Michael:
> 
> Could you please give some more info why you abandoned doing it in Perl. I'd
> like to do that for Misterhouse-Freevo connection. Were there any problems ?
> Could you post code somewhere ?
> 
> Thanks,
> 
> Robert.
> 
> ----- Original Message -----
> From: "Michael Ruelle" <[EMAIL PROTECTED]>
> To: "FreevoDevel" <[EMAIL PROTECTED]>
> Sent: Saturday, November 29, 2003 10:38 PM
> Subject: Re: [Freevo-devel] xmlrpc details for communicating with
> therecord_server?
> 
> 
> > On Sat, 2003-11-29 at 15:40, Rob Shortt wrote:
> > > One problem you will have though is passing objects back and forth.
> > > Xmlrpc only passes simpe type back and forth so we use Twisted's
> > > marmalade functions to serialize objects to xml format then rebuild them
> > > on the other side.  I know Mike Ruelle was looking into building an app
> > > in another lang (perl/tk maybe?) and was having problems with Twisted's
> > > marmalade to xml format.  I am not sure if he found a solution.  Also if
> > > you are using another language you will most likely need to make object
> > > deffinitions for each type of object you wish to pass back and forth
> > > (TvProgram for example).
> > >
> >
> > I abandoned doing it in perl and have done it in python. I found i
> > needed to include basically all of freevo because of dependencies and
> > functions used to get info.
> >
> > When i get some time i want to write a wrapper around some of the calls
> > and make a more vanilla xml interface to the record server and also add
> > some tv guide querying to it as well. Right now I am too busy with work.
> >
> > --
> > Mike Ruelle
> > [EMAIL PROTECTED]
> > http://world.std.com/~mruelle/
> >
> >
> >
> > -------------------------------------------------------
> > 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
-- 
Mike Ruelle
[EMAIL PROTECTED]
http://world.std.com/~mruelle/



-------------------------------------------------------
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

Reply via email to