MediaServer: Miro Guide
This backend is part of the official distribution packages since 0.6.2. However, it shall still be considered as experimental. You may check svn for the latest version
Miro Guide MediaServer
Miro Guide is an online catalog for online videos. It is usually linked to the Miro media player but can be accessed independently.
Additional dependencies
<dependencies>
UPnP ContentDirectory structure
Configuration
The MiroGuide backend accepts these options:
- name:
- the name this backend should show up on your UPnP clients, defaults to MiroGuide
- version
- instruct this backend to act as a UPnP A/V version 1 or version 2 MediaServer
- proxy_mode
- "redirect" (default), "cache" or "buffered". "redirect" if you want the MediaRenderer to directly connect to the source web server. "cache" if you want the stream to be downloaded and then served to the MediaRenderer. "buffered" if you want the stream to be downloaded and served in parallel to the MediaRenderer (after a given amount of data has been retrieved). In both "cache" and "buffered" mode, the downloaded stream will stay on the server for future access.
- cache_directory
- the cache directory when the stream will be downloaded in cache and buffer mode. (compulsory in cache and buffer mode)
- cache_maxsize
- max size for the cache directory (in bytes). If bigger, some cached streams will be deleted (default to 100000000=100MB)
- buffer_size
- in buffer mode, minimal amount of downloaded data before serving it to the mediarenderer (in bytes) (default to 2000000=2MB)
Examples
New config file:
<plugin active="yes"> <backend>MiroGuide</backend> <name>MiroGuide</name> </plugin>
Python code:
coherence.add_plugin('MiroGuide', name='MiroGuide')
DBus:
coherence_service = dbus.SessionBus().get_object('org.Coherence','/org/Coherence') coherence_service.add_plugin('MiroGuide', {'name':'MiroGuide'}, dbus_interface='org.Coherence', reply_handler=add_plugin_callback, error_handler=error_callback)
Commandline:
coherence --plugin=backend:MiroGuide
