Monthly Archives: January 2008

The new status bar plugin for Vagalume

Published / by mario / 1 Comment on The new status bar plugin for Vagalume

Hi all,

It has been a long time since my last post (April 15th, 2007), so I think that it’s time to write something again… and I can’t think of a better chance to do it that talking about this… :-)

As many of you could know, last November 1st my mate Berto released the first version of his Gnome/Maemo Last.fm (codenamed “Vagalume 0.1”), which started being just a “three-button application” and evolved to be a nice application to listen your favorite custom radio stations, providing lots of the typical features that a Last.fm user would expect.

So, besides to all the new features Berto has been adding everyday, and besides to the nice new UI enhancements Felipe has been working on (which will be out with release 0.5)… I also wished to contribute to Vagalume with a new component: a status bar plugin for the Maemo platform.

And taking into account Berto has just committed my patch yesterday (revision 86 of SVN trunk [*]), I thought of it could be a good moment to talk about the new plugin itself, so here it goes…

The new status bar plugin would allow Vagalume users to control some features of the application from the status bar:

  • Check out basic info about the song being played: title / artist / album.
  • Play / Stop / Skip songs.
  • Love and Ban songs
  • Bring Vagalume main window to the front.
  • Close Vagalume.

And that’s all. As you can see there are only a couple of commands available to be executed from the plugin, but we thought it would be the right way not to overcharge it too much with “advanced” features, and just to focus it to provide only basic actions. After all, it was designed to be an small plugin, wasn’t it?

At last, just to point out communication is currently carried out by specific Dbus messages between Vagalume and the plugin, although, in the future, this could change into one of the following ways:

  • Change the Dbus methods (with specific destination set: Vagalume main app or the plugin) into broadcast signals, so any application in the platform could interact with Vagalume in the same way the plugin does.
  • …or maybe supporting MPRIS standard interface could be a better way to allow integration between Vagalume any other application (Thanks for your suggestion, Juan).

Of course there are more improvements planned for the near future of the plugin, such as:

  • Adding support for OS2006 and OS2007 in maemo platforms (now, the plugin only works with OS2008).
  • Adding a new dock plugin supporting freedesktop.org specs, to allow desktop users to have a similar plugin.
  • Adding a new action to allow hiding the Vagalume main app so it’s not shown in the “tasks list panel” (desktop), or in the “task navigator” (Maemo).
  • … any suggestions? ;-)

So, I think that’s all so far. Now I just hope Vagalume users enjoy this plugin as much as I enjoyed developing it (and using it, of course). IMHO, I think it’s a nice way to “control” basic actions of Vagalume from the status bar, without having to open the main window when you’re running another application (the web browser or talking with the IM application, for instance), and just by using the drop down panel by clicking in the icon.

But of course, this is my (personal) opinion, so please post any comment you want about this. They will be highly appreciated!

So, let’s wait for the 0.5 release to see what people think about the new version of Vagalume, I have the feeling it’s going to rock! ;-)

In the meanwhile, here you are a example of the status bar plugin being usen while surfing the web:

Vagalume status bar plugin screenshot

Stay tuned, it’s coming soon!

[*] :: To checkout the code from SVN trunk:

svn co https://garage.maemo.org/svn/vagalume/trunk