NSLU2, Grilo and UPnP in Ubuntu’s GNOME

Going quickly to the “ham”, if you are running Ubuntu Precise on your machine and want to have Grilo support including its UPnP plugin in totem and rhythmbox just add Grilo Team‘s PPA:

~#  sudo add-apt-repository ppa:grilo-team/ppa

Then, pull down the latest list of software including the PPA you just added:

~#  sudo apt-get update 

Install the needed packages and upgrate any old one:

~#  sudo apt-get install totem rhythmbox grilo-plugins-0.1
~#  sudo apt-get upgrade

That’s it! Enjoy your Grilo powered totem and rhythmbox!

Now, the long boring story ;)

Last weekend I found some time to resurrect my dear NSLU2 which passed away some months ago when its attached USB hard drive started failing. I have reports from several USB hard drives dying while being attached to a NSLU2 so I may have to take a look to that at some point, but that would be in another moment.

Thanks to good Martin Michlmayr I only had to follow quickly his installation guide and I could have the Debian Squeeze firmware image he provides running smoothly in a matter of minutes.

Afterwards, I followed the counsels of Juan and Mario to tweak my Slug.

The customization to highlight was adding a MediaTomb server since one of the main features that I wanted to add to my Slug was the possibility of serving audio and video through UPnP.

Everything seemed in place but, when I checked in my desktop running Ubuntu Precise how to access my music from rhythmbox and my videos from totem I had a sad surprise. None of them have UPnP support and, what is worse, none of them have Grilo support out of the box in Precise. And I say worse because, among other plugins, Grilo already provides UPnP support and AFAIK, totem and rhythmbox have upstream Grilo plugins for quite some time already.

So, what was the problem? Why weren’t they in Precise?

Well, in the case of rhythmbox it seems just a small mistake in the debian packaging, as it is pointed in this report in Launchpad’s bug 973295. Astonishingly, it has not yet been fixed!

Hence, I downloaded the sources for the precise-proposed rhythmbox’s package and I did the proper changes and uploaded it to the Grilo Team PPA.

Rhythmbox and Grilo 0.1

“Rhythmbox and Grilo 0.1″

In the case of totem what happened was that Grilo’s plugin was removed as for the version that was packaged for Precise, in the road to add a new and better plugin for Grilo 0.2. Which is what it is in totem upstream nowadays.

Therefore, I re-took the old patch for totem’s Grilo 0.1 plugin in GNOME’s bug 628648, downloaded the sources for the precise-proposed totem’s package, patched and uploaded it to the Grilo Team PPA.

Totem and Grilo 0.1

“Totem and Grilo 0.1″

In the path for all these changes I joint the Grilo Team at gitorious and made also some changes to its packaging.

Now I can enjoy my UPnP served music and videos from my favorite applications in GNOME!!!

Hopefully, for the next Ubuntu’s release we will have Grilo 0.2 already integrated and totem will come with its plugin out of the box. By now, rhythmbox’s Grilo plugin has yet not been migrated.

Grilo 0.2 is a great library for accessing the media content from several resources. Juan, the Grilo master, has been working in Igalia writing a new, clean, easily extendable and powerful API that is ready for use and which keeps enhancing everyday. However, Grilo’s adoption is coming surprisingly slow. Out of GNOME other projects have shown quite some interest as it was the case of Media Explorer, but in GNOME I only know of its support by the 0.2 version in totem. Anyone willing to bring the power of Grilo to Music, rhythmbox, banshee and the like? :D

Update: It seems I rushed too much since Jonathan Matthew migrated rhythmbox Grilo plugin to 0.2 pretty recently. Thanks Matthew!

6 Responses to “NSLU2, Grilo and UPnP in Ubuntu’s GNOME”

  1. Jed says:

    I’ve had a nslu2 for donkeys years but I’ve never done anything with it!
    Any other suggestions for a really cool use???

  2. tanty says:

    The NSLU2 is quite “powerless” compared to nowaday’s “plug computers” so you may want to chose some tasks that are not quite CPU consuming.

    Usually, they are used as torrent and emule clients. Also as UPnP servers, proxies, Samba servers or SSH stations.

    You can find quite good suggestions from my mates, as I wrote in the post:
    http://blogs.igalia.com/jasuarez/nslu2/
    http://mariospr.org/2009/01/27/my-slug-my-ps3-and-me/

    And of course, from:
    http://www.nslu2-linux.org/wiki/Info/WhatPeopleAreReallyUsingTheirSlugsFor

  3. Jed says:

    @tanty

    Weird, I did not get an email about your response…
    if I had not browsed back here, I would never have known that you responded!
    Thanks mate, excellent links, I will definitely have a close look, thanks again!

  4. J G Miller says:

    Using Rhythmbox with Grilo 0.2 to browse UPnP/DNLA shares from either miniDLNA or MediaTomb has been broken since Rhythmbox was upgraded to use Grilo 0.2. The bug, #682574, was reported on 2012-08-23 22:02:00 UTC but has been appropriately ignored.

  5. tanty says:

    Thanks for reporting about https://bugzilla.gnome.org/show_bug.cgi?id=682574 . I’m now CCing myself to it and will try to check whether I can do something about it.

    I’m still an (unfortunate) Ubuntu user without proper support for Grilo. Hence, while I’ve not managed to allocate some time for updating the PPAs for Grilo 0.2 with Rhythmbox and Totem I’m unaware of how is Grilo’s support on any of them.

    Can you report about Totem? Is it working correctly.

    Honestly, the speed at which Ubuntu is adding Grilo 0.2 support properly is quite dispairing :(

  6. LeeG says:

    I was looking for a UPNP aware media player in Linux and finally found your website. Followed you instructions and it worked! Good instructions and good software – Thanks!

Leave a Reply

(required / obligatorio)


five + = 6