MediaServer: DVB Deamon

  1. DVB Daemon
    1. UPnP ContentDirectory structure
    2. Configuration
      1. Examples
      2. Open Tickets for this backend
    3. External links



DVB Daemon

The DVB Daemon is a GSoC project by Sebastian Pölsterl to create a service that manages your DVB card(s) and their data. It detects your DVB cards, scans them for channels, stores the list of channels, provides access to EPG and is responsible for recording TV shows.

Coherence uses the DVB Daemon as its media database backend to populate a DLNA/UPnP MediaServer with the recorded video files.

As the DVB Daemon evolves, it will also be possible to access the EPG data and schedule recordings via UPnP.

Totem playing a recording via its UPnP plugin

UPnP ContentDirectory structure

The returned media data from the DVB Daemon is represented in this structure:

  • Recordings

Configuration

The DVB Daemon backend accepts these options:

name:
the name this backend should show up on your UPnP clients, defaults to TV
enable_destroy
optional, when enabled with yes, recordings can be deleted by the UPnP client
version
optional, to define a different UPnP device version for that backend

As this backend uses DBus to connect to the DVB Daemon you need to set in the global Coherence configuration the option use_dbus to yes.

Examples

Old config file:

[[DVBDStore]] 
    name = My Recordings

New config file:

<plugin active="yes">
    <backend>DVBDStore</backend>
    <name>My Recordings</name>
</plugin>

Python code:

coherence.add_plugin('DVBDStore',
                     name='My Recordings')

DBus:

coherence_service = dbus.SessionBus().get_object('org.Coherence','/org/Coherence')
coherence_service.add_plugin('DVBDStore',
                             {'name':'My Recordings'},
                             dbus_interface='org.Coherence',
                             reply_handler=add_plugin_callback,
                             error_handler=error_callback)

Commandline:

coherence --option=use_dbus:yes --plugin=backend:DVBDStore

Specifying options for Coherence on the commandline is supported with Coherence versions >= 0.5.7.

Open Tickets for this backend

The DVB Daemon has since moved to Gnome and has its own website http://live.gnome.org/DVBDaemon

Attachments