[coherence-dev] using coherence as a client

Frank Scholz fs at beebits.net
Fri Apr 17 11:55:53 CEST 2009


Hi Alexandre,


> for now I'm in these situation but didn't now if coherence can easily
> answer my problem.
> 
> I'm using the upnp-tester.py module:
> 
> i created a nex function named cmd_test where i can like this:
[...]
> with these function i want to enumerate all files included in my
> TVersity media server, but i really don't know if i have a good approach
> maybe i'm not in the right direction so what i really expect from your
> help is to tell me how i'can easilly create an media server client that
> can work with my server and if there some interessted examples or files
> in coherence sources that can help me in my researchs....

One very simple example is here:

http://coherence.beebits.net/wiki/Examples#ReactoneachMediaServerandbrowseitsroot-container:

The Inspector has a MediaServer browse method too:

http://coherence.beebits.net/browser/trunk/UPnP-Inspector/upnp_inspector/mediaserver.py#L434

Or if you would like to use the D-Bus Api, the same thing is:

http://coherence.beebits.net/browser/trunk/Coherence/coherence/ui/av_widgets.py#L666

Creating a client isn't that difficult (see first example),
but think I might have not fully understood what exactly
you want to do.

Regards,
Frank



More information about the coherence-dev mailing list