Netzflocken

...was so an- und abfällt

Entries in the Category “UPnP”

Coherence UPnP BinaryLight Demonstrator stands to EU proposal IP/08/1909

written by dev, on Apr 1, 2009 11:23:00 AM.

For immediate press-release:

The Coherence DLNA/UPnP project announces today that its UPnP BinaryLight Demonstrator adheres to the European Commission’s proposal for progressively phasing out incandescent bulbs.

“Once more Coherence demonstrates hereby its innovative and forward-looking orientation and emphasizes being the number one DLNA/UPnP framework of the world!” says Frank Scholz, lead-developer of Coherence. “We hope that others will follow our example and throw overboard their frumpishness.”

Independent experts assert that the energy consumption for displaying this image of an energy-saving light bulb is less than 20% compared to an incandescent bulb. And that this image will last at least five times longer too.

BinaryLight Demonstrator

European energy commissioner Andris Pielbalgs delightedly expresses: “Even such a small appearing change can make a big difference!”

Germanys ex-chancellor Helmut Kohl said “This is an excellent example for the innovative strength of Germany and Europe, and I encourage the current legislation to use energy-saving light bulbs for illumination of the data-highways too.”

Coherence 2008 retrospective

written by dev, on Feb 2, 2009 9:20:00 PM.

The last year has seen an increasing number of DLNA/UPnP devices reach the market - TVs, Gaming Consoles, Audio Players, Amplifiers, Cell Phones,...
DLNA is everywhere; now more than ever open software is needed to bring all these devices together!

2008 was a great year for Coherence:

  • no less than five releases
  • many new backends like Ampache, Apple-Trailers, BBC podcasts, DVB-Daemon, Flickr, Gallery2, Lolcats, MetaTracker, TED.com videos
  • on-the-fly audio transcoding using GStreamer
  • unique Totem, Nautilus or Eye-Of-Gnome plugins
  • KDE desktop applet that allows you to start Coherence
  • many compatibility improvements, and work-arounds for non-compliant hardware e.g. Xbox 360
  • DBus enhancements - simplifying the use of Coherence as a service
  • device implementations other than Audio/Video, like BinaryLight or DimmableLight
  • widely visible on Wikipedia & Freshmeat, even mentioned on Ars Technica
2009 looks to be another promising year:

Coherence has been successfully registered for the French "Trophees du Libre" (Free Software Awards) contest - cross your fingers pls ;o)
A new Youtube backend, opening the door to new online-content.

Comparing January 2008 & January 2009, the number of unique visitors to the Coherence website has increased three fold, now reaching over 6000 per month.

All your contributions bring more and more innovation in the DLNA/UPNP world and help making Coherence a great project.

Thanks all of you for using, participating in and promoting Coherence!

Coherence 0.6.0 - the late pumpkin

written by dev, on Jan 1, 2009 1:54:00 PM.

One of my last computer related activities in 2008 was releasing version 0.6.0 of the Coherence DLNA/UPnP framework.

The plain facts first:

Kudos go especially to jmsizun, lightyear and superdump for their work on the new backends and their patient debugging sessions!

There are some remarkable things - beside the technical improvements or the feature additions - that make this release special.

Community created backends - just awesome!
A huge THANK YOU to you guys! And seeing them appear in such a short time of development shows that the backend, the data-provider centric approach of Coherence was the right way to go.

More online and social content providers!
The Flickr MediaServer was only the beginning. With more backends that retrieve their media via some RSS feed or an API provided by an service like You-Tube or GoogleVideo, Coherence will more and more evolve into a media-hub.
A media-gateway that does provide a central place to go for accessing digital media of different origins and types, via an unified and standardized form. And still leaving the choice to you which device or application to use for that.

Applications!
With the new Eye of Gnome plugin one of the last UPnP jigsaw piece for the Gnome desktop has found its place.
After the RhythmBox plugin for audio, the Totem plugin for audio and video, images served via UPnP can now be accessed via the Eye of Gnome image viewer.
And with Nautilus on the other side there is an easy way to instantly share media or interact with other UPnP devices.

The last puzzle piece is enabling Nautilus to browse UPnP A/V MediaServers in its native way. I'm confident that this is a solvable, short-term task.

Wouldn't it be amazing if other environments would be able to benefit from the work done there too.

And there a more things to come.
In the pipeline for the next releases there are amongst others:

A Happy and Peaceful New Year!

Adding Transcoding to Coherence

written by dev, on Dec 3, 2008 8:02:00 PM.

Yeah, you read right, transcoding - the holy grail when it comes to DLNA and UPnP A/V - is finally within Coherence's reach.

With current svn trunk we have a simple, yet powerful audio transcoder based on GStreamer, enabling our FSStore MediaServer to serve ogg, mp4 and flac media files to devices not able to playback these formats natively, like the Playstation 3.

The transcoded stream can be paused, but not seeked yet. That needs a bit of more work.

The complementary remuxer/transcoder for video is in the works too, hope we are able to finish that for the upcoming 0.6.0 release.

Coherence and Nautilus - Brothers in Arms

written by dev, on Oct 26, 2008 10:30:00 PM.

One of the things I had on my list - unfortunately that list is quite long atm - was bringing Nautilus - Gnomes filemanager - and Coherence together.
Nautilus has the possibility to add something via an extension - luckily these extensions can be in Python too.

So it was pretty straight forward to add to Nautilus:

  • sharing one or more folders as a DLNA/UPnP MediaServer, allowing clients like the PS3 or the Nokia N810 to access these files
  • accepting files send from an ControlPoint
  • uploading files itself to other DLNA/UPnP MediaServers that allow media to be imported
  • instruct a MediaRenderer to playback a given file
You can watch the demonstration video here:

the link to Google Video, just in case that embedded player isn’t working

More details, download and install instructions as usual on the Coherence site.

As you might notice, there is one part missing - having Nautilus display and access the content of other MediaServers in the network.
This can’t be done with an extension, here the gvfs backend needs to be modified. But as Coherence exposes the MediaServers via DBus, a small layer mapping Nautilus’ requests to Coherence’ signals and methods shouldn’t be that difficult?

there will be light

written by dev, on Mar 16, 2008 12:35:00 PM.

Over the last days I’ve added support for the UPnP Lighting Controls V 1.0 to Coherence.

Although there aren’t yet much application areas for this specification outside of maybe some futuristic showrooms and research laboratories - and here at my place with my little UPnP <-> EIB bridge - but that specification addresses one of the biggest obstacles when it comes to home-automation.

The need to know/to program the unique id of a new device you bring into your household and to establish the connection between a switch and that device, is in all serious automation systems diametrically opposed to the wish of the ordinary customer who just wants to buy a new lamp, plug it in and have it working.

Newer systems like digitalstrom or ZigBee take that (partially) into account, but here too UPnP has the potential to model a unified layer above the system and vendor specific peculiarities.

And having that in Coherence is a nice demonstration of the simplicity implementing a device with it anyway.

class SimpleLight(Backend):

    """ this is a backend for a simple light
        that only can be switched on or off

        therefore we need to inform Coherence
        about the state, and a method to change it

        everything else is done by Coherence
    """

    implements = ['BinaryLight']
    logCategory = 'simple_light'

    def __init__(self, server, **kwargs):
        self.name = kwargs.get('name','SimpleLight')
        self.server = server
        self.state = 0 # we start switched off
        louie.send('Coherence.UPnP.Backend.init_completed', None, backend=self)

    def upnp_init(self):
        if self.server:
            self.server.switch_power_server.set_variable(0, 'Target', self.state)
            self.server.switch_power_server.set_variable(0, 'Status', self.state)

    def upnp_SetTarget(self,**kwargs):
        self.info('upnp_SetTarget %r', kwargs)
        self.state = int(kwargs['NewTargetValue'])
        if self.server:
            self.server.switch_power_server.set_variable(0, 'Target', self.state)
            self.server.switch_power_server.set_variable(0, 'Status', self.state)
        print "we have been switched to state", self.state
        return {}
Yep, that’s all. :-)

From the three UPnP actions the SwitchPower service defines, only one is actually needed to implement, the other two actions can be handled by Coherence autonomously.

Coherence 0.5.2 - the "little leap"

written by dev, on Feb 29, 2008 10:06:00 PM.

I'm happy to announce a new release of

Coherence 0.5.2 - the "little leap"

on this 29th of February 2008.

This is on the one hand an interim release to get into the distributions an updated package providing support for new features used by the upcoming versions of Rhythmbox and Elisa.

On the other hand there are some enhancements that are of general interest too:

  • rework of the XBox 360 support
  • refinements and improvements on the client side API, incorporating things we learned on extending the Rhythmbox UPnP plugin
  • some efforts on smoothing the "just use it as a MediaServer/-Renderer" user experience
  • rearrangements in the way multiple res elements are ordered, fixes issues which we had with some UPnP stacks and their 'wayward' interpretation of the specs
  • and the usual bugfixes and improvements

More details at the Coherence site

The best showcase for what can be done with Coherence is at the moment for sure the Rhythmbox UPnP plugin.

It enables Rhythmbox

  • to act as an UPnP MediaServer, serving its media files to other UPnP clients
  • be an UPnP client itself
  • and handing over control to an UPnP ControlPoint, announcing itself as an UPnP MediaRenderer
<shameless-plug>
A demonstration can be viewed in a little video over here.
</shameless-plug>

Talk about Coherence @ FOSDEM 2008

written by dev, on Feb 17, 2008 9:42:00 PM.

I'll have the pleasure to talk about Coherence at the FOSDEM 2008.

The talk will be on Sunday afternoon at 16:40 in room Ferrer and will have a special focus on the UPnP integration in Rhythmbox.

So if you are in Brussels, be sure to drop by and do not miss it. :-)

If you want to meet me, speak about DLNA/UPnP in general, or have a revolutionary idea for Coherence, please ping me on irc.

Coherence and Rhythmbox UPnP interaction

written by dev, on Jan 30, 2008 10:13:00 PM.

I made a little video to demonstrate the new features of the upcoming next version of the Rhythmbox UPnP plugin.

It shows Rhythmbox:

  • acting as an UPnP MediaServer, serving its files to the UPnP player Media Streamer on the Nokia N800
  • being itself a client of a Coherence UPnP MediaServer
  • and in the end acting as an UPnP MediaRenderer, controlled by the ControlPoint on the N800


Original better-resolution avi here

Nokia N95 8GB gets DLNA certification

written by dev, on Jan 21, 2008 4:03:00 PM.

A few days ago Nokia announced that the N95 8GB got - as the first mobile phone ever - a DLNA certification.

Now they have added a video demonstrating its use within a home network.

Nothing new actually in regards to the UPnP functionality - the phone acts as a MediaServer and a ControlPoint - but the video shows more than any 1000 marketing words what media sharing interoperability does mean.


Original better-resolution mpeg here