[coherence-dev] using coherence as a client

Alexandre LIBERT alibert at cergy.itin.fr
Wed Apr 15 14:30:19 CEST 2009


hi,
I'm working on an Multimedia application in python witch give you the
possibility to the manage your personal calendar, to watch your personal
videos, to navigate on the Internet etc...

for the next step i had to put all user data in another device (server). So
my application has to establish a connection between the client and the
server to retrieve user data and let the possibility to manage and watch it.

for this i use this architecture:

server : windows xp wih TVersity installed

client: ubuntu with coherence

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:

       import coherence.upnp.devices.media_server_client as msc

       def cmd_test(self, args):
           for d in self.coherence.get_devices():
               if d.friendly_name == "<the name of my TVersity media
server>":
                   my_msc = msc.MediaServerClient(d)
                   print my_msc.content_directory.browse()


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


i'm sorry for my english but i expect you will be able to help me.

Alex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.beebits.net/pipermail/coherence-dev/attachments/20090415/92c128c5/attachment.htm>


More information about the coherence-dev mailing list