MediaServer: AppleTrailers
Apple HD Movie Trailers MediaServer
Apple provides on his site a collection of Movie Trailes in High-Definition quality.
The backend retrieves that data and processes it for use by other UPnP clients.
You can watch the backend interacting with Totem @ Bens blog
UPnP ContentDirectory structure
The returned media data from the Apple Trailers site is represented in this structure:
- trailer list
Configuration
The AppleTrailers backend accepts these options:
- name:
- the name this backend should show up on your UPnP clients, defaults to Apple Trailers
- refresh
- check with the apple site every day for updates
- version
- instruct this backend to act as a UPnP A/V version 1 or version 2 MediaServer]
Examples
New config file:
<plugin active="yes"> <backend>AppleTrailersStore</backend> <name>Apple Trailers</name> </plugin>
Old config file:
[[AppleTrailersStore]]
name = Apple Trailers
Python code:
coherence.add_plugin('AppleTrailersStore', name='Apple Trailers')
DBus:
coherence_service = dbus.SessionBus().get_object('org.Coherence','/org/Coherence') coherence_service.add_plugin('AppleTrailersStore', {'name':'Apple Trailers'}, dbus_interface='org.Coherence', reply_handler=add_plugin_callback, error_handler=error_callback)
Commandline:
coherence --plugin=backend:AppleTrailersStore
Specifying options for Coherence on the commandline is supported with Coherence versions >= 0.5.7.
Open Tickets for this backend (new...)
- #170
- use 720p file when available
