Joaquim Rocha
Published on

Grilo powered Rhythmbox

Authors
  • avatar
    Name
    Joaquim Rocha
    Twitter
  • Principal Software Engineering Manager at Microsoft

Grilo is getting really interesting and one of its newest nice things is the DBUS interface Juan has been working on lately.

This DBUS interface is currently known as Rygel-Grilo (it was originally intended to be a source for Rygel) and uses the MediaServerSpec to allow developers to retrieve the media objects Grilo provides.

Since there aren’t still Python bindings for Grilo, I decided to use the Rygel-Grilo to be able to use Grilo from Python. So I developed a Rhythmbox plugin that shows every MediaServer1 object available and lets the use browse through the contents of these. Needless to say, although this plugin provides a very generic basic and usage, it’s easy to see how applications like Rhythmbox could be using Grilo to get their media. The philosophy is: Grilo gives you content, GStreamer plays that content, and you’re free to focus in the rest of your app’s details.

Here’s a video of Rygel-Grilo and the Rhythmbox MediaServer1 plugin in action:

Grilo MediaServer1 Rhythmbox Plugin from Joaquim Rocha on Vimeo.

You can find this plugin under the MediaServer1 Plugins project on Gitorious.

Juan did also developed a cool plugin for Totem similar to this one. Take a look at this post to see the plugin working and a more detailed explanation of what Rygel-Grilo is.