[coherence-dev] how to change the version of media server

Frank Scholz fs at beebits.net
Tue Oct 14 09:14:11 CEST 2008


Hi,

> > I want to run the coherence as a MediaServer:1
> > Other devices and Renderers seems not find Coherence because others only
> > search version 1 devices.
> >
> > Can I change the version simply by changing some config file ?
yes, you can. There are several places to do that.

You can change the overall version, valid for all activated backends in
the configuration file by just setting version = 1 in the main config
section.
http://coherence.beebits.net/wiki/DocumentationDepartment#Configuration

Or per backend by setting version = 1 in the specific backend
configuration part.

Just like this:

logmode = warning         # none, critical, error, warning, info, debug
#interface = eth0
#serverport = 30020       # if not specified or set to 0
                          # coherence will let the OS choose the port

version = 1               # valid for all backends

[plugins]
    [[FSStore]]
        content = tests/contentby commas
        name = Coherence Test Content
        version = 1       # an example for backend only
    [[FlickrStore]]
        name = Flickr Images
        version = 2       # and we have an override here

On the commandline it is the same:

coherence -o version:1 \
   --plugin=backend:FSStore,version:1 \
   --plugin=backend:FlickrStore,version:2

What devices do you have trouble with.
So far I've only encountered the Nokia Symbian UPnP stack
http://coherence.beebits.net/wiki/NokiaN95
that ignored the parallel (version 1 and version 2)
announcements that Coherence is sending out.

Regards,
Frank




More information about the coherence-dev mailing list