The
The Coherence toolkit offers the following multi-media related components:
Due to the comprehensive plug-in architecture, these can easily be expanded.
Coherence also contains an audio/video DLNA/UPnP MediaRenderer application, based on the GStreamer framework. It includes the source-code framework used by the other components. The media server supports Transcoding (experimental).
If you are new to DLNA/UPnP you may want to read the Short Introduction to DLNA?.
Additionally there is a command-line tool to work with UPnP Internet Gateway Devices (Puncher). Many routers offer an UPnP InternetGatewayDevice to query informations about the WAN connection, the link status, external IP address and to enable port-mappings that allow inbound connections to the local LAN. Puncher allows you interacting with these devices.
The toolkit is known to work on various Linux flavors, BSD, (Open)Solaris and Windows. It can be installed either as a standard python source-code download or through various OS-specific packages.
Developers get a framework written in Python with an emerging DBus API. This framework is designed to automate all UPnP-related tasks as much as possible and enable applications to participate in digital living networks, primarily the UPnP universe.
The core framework of Coherence provides:
UPnP device implementations are pluggable. For instance, we can pick the MediaServer device and plug it into the core. Or attach the MediaRenderer device. Or attach both, or two MediaServers and a ControlPoint - this is the point where one of Coherence's particular features kicks in.
This probably makes more sense if we look at how UPnP devices are implemented within Coherence. On one side of the device we have the connectors to the core, but on the other side there is a dock for a backend to be plugged in. So a device implementation is generally a simple translation map between the the core and its backend.
As an example, a MediaServer connects to the core via the ContentDirectory and ConnectionManager services and bridges them to a filesystem backend. Or bridges them - let's say - to a less skimpy one, the MediaStore? of a MediaCenter exposing its content in a way already presorted by album, artist, genre,...etc.
More information is available in the Architectural Overview.
At the moment Coherence is primarily focused on the UPnP A/V devices but any other UPnP device can be addressed, too. Such as a Lighting Controls bridge to EIB home-automation.
The core itself is fairly complete and can be used on its own for debugging purposes.
The media server includes an early implementation of transcoding support.
Here is a list of devices which have been reported to work with Coherence. Please keep us informed about your devices.
Any contribution (esp. pull-requests) is welcome.
For information about installation and using Coherence with(in) your application and writing backends and plugins, please visit the DocumentationDepartment and the slowly growing list of SupportedDevices.
For developing Coherence and the related projects we strongly suggest checking out the Development repository. It holds tools, tips and tricks, esp. scripts for setting up the development-environment.
There are also some posts about Coherence in my blog, these will sooner or later get incorporated into this site.
Frank Scholz, the lead developer of Coherence, can be reached at dev@coherence-project.org.
Coherence has its roots in the work of
Coherence is licensed under the MIT license.
There are other projects that are similar to Coherence or provide related functions, such as a dedicated UPnP MediaServer implementation. They are listed on the Resources page.
Due to the comprehensive plug-in architecture, these can easily be expanded.
Coherence also contains an audio/video DLNA/UPnP MediaRenderer application, based on the GStreamer framework. It includes the source-code framework used by the other components. The media server supports Transcoding (experimental).
If you are new to DLNA/UPnP you may want to read the Short Introduction to DLNA?.
Additionally there is a command-line tool to work with UPnP Internet Gateway Devices (Puncher). Many routers offer an UPnP InternetGatewayDevice to query informations about the WAN connection, the link status, external IP address and to enable port-mappings that allow inbound connections to the local LAN. Puncher allows you interacting with these devices.
The toolkit is known to work on various Linux flavors, BSD, (Open)Solaris and Windows. It can be installed either as a standard python source-code download or through various OS-specific packages.
Developers get a framework written in Python with an emerging DBus API. This framework is designed to automate all UPnP-related tasks as much as possible and enable applications to participate in digital living networks, primarily the UPnP universe.
The core framework of Coherence provides:
UPnP device implementations are pluggable. For instance, we can pick the MediaServer device and plug it into the core. Or attach the MediaRenderer device. Or attach both, or two MediaServers and a ControlPoint - this is the point where one of Coherence's particular features kicks in.
This probably makes more sense if we look at how UPnP devices are implemented within Coherence. On one side of the device we have the connectors to the core, but on the other side there is a dock for a backend to be plugged in. So a device implementation is generally a simple translation map between the the core and its backend.
As an example, a MediaServer connects to the core via the ContentDirectory and ConnectionManager services and bridges them to a filesystem backend. Or bridges them - let's say - to a less skimpy one, the MediaStore? of a MediaCenter exposing its content in a way already presorted by album, artist, genre,...etc.
More information is available in the Architectural Overview.
At the moment Coherence is primarily focused on the UPnP A/V devices but any other UPnP device can be addressed, too. Such as a Lighting Controls bridge to EIB home-automation.
The core itself is fairly complete and can be used on its own for debugging purposes.
The media server includes an early implementation of transcoding support.
Here is a list of devices which have been reported to work with Coherence. Please keep us informed about your devices.
Any contribution (esp. pull-requests) is welcome.
For information about installation and using Coherence with(in) your application and writing backends and plugins, please visit the DocumentationDepartment and the slowly growing list of SupportedDevices.
For developing Coherence and the related projects we strongly suggest checking out the Development repository. It holds tools, tips and tricks, esp. scripts for setting up the development-environment.
There are also some posts about Coherence in my blog, these will sooner or later get incorporated into this site.
Frank Scholz, the lead developer of Coherence, can be reached at dev@coherence-project.org.
Coherence has its roots in the work of
Coherence is licensed under the MIT license.
There are other projects that are similar to Coherence or provide related functions, such as a dedicated UPnP MediaServer implementation. They are listed on the Resources page.