{{{ #!html

MediaServer: Gallery

}}} [[TOC(heading= ,inline)]] [[BR]] [[BR]] == Gallery MediaServer == [http://gallery.menalto.com Gallery] is an open source web based photo album organizer. The backend retrieves that data via a slightly modified [http://www.fprimex.com/programming/galleryremote galleryremote module] and processes it for use by other UPnP clients. === UPnP ContentDirectory structure === The returned media data from the gallery server is represented in this structure: * Gallery * folder 1 * folder 3 * folder 2 * image A * image B * ... resembling the folder structure on the gallery server. === Configuration === The [source:/trunk/coherence/backends/gallery2_storage.py Gallery backend] accepts these options: '''server_url''':: the uri of the gallery server remote access interface '''username''':: the username needed to get access to the gallery server (optional) '''password''':: the corresponding password (optional) '''name:''':: the name this backend should show up on your UPnP clients, defaults to ''Gallery'' '''version''':: instruct this backend to act as a UPnP A/V version 1 or version 2 MediaServer] ==== Examples ==== New config file: {{{ #!xml Gallery2Store Gallery http://site/ }}} Old config file: {{{ #!txt [[Gallery2Store]] name = Gallery server_url = http://site/ }}} Python code: {{{ #!python coherence.add_plugin('Gallery2Store', name='Gallery',server_url='http://site/') }}} DBus: {{{ #!python coherence_service = dbus.SessionBus().get_object('org.Coherence','/org/Coherence') coherence_service.add_plugin('Gallery2Store', {'name':'Gallery', 'server_url':'http://site/'}, dbus_interface='org.Coherence', reply_handler=add_plugin_callback, error_handler=error_callback) }}} Commandline: {{{ #!sh coherence --plugin=backend:Gallery2Store,server_url:http://site/ }}} Specifying options for Coherence on the commandline is supported with Coherence versions >= 0.5.7. === Open Tickets for this backend ([/newticket?component=MediaServer%20Backend%20Gallery new...]) === [[TicketQuery(component=MediaServer Backend Gallery&status=new|assigned)]]