Songbird control with gnome-do

20 views
Skip to first unread message

ic3man

unread,
May 1, 2009, 1:40:15 PM5/1/09
to GNOME Do
Hi,

I've been using gnome-do for quite a while now and I'm very happy with
it. I couldn't imagine trying to get through my work day without
it :)

I recently switched from using Rhythmbox as my default music player to
Songbird. I love the integration Do has with Rhythmbox and I'd love
to see a similar plugin for Songbird allowing me to control playback,
volume, etc...

Would something like that be doable (heh) or am I talking crazy?

Thanks,

Ashton Kemerling

unread,
May 1, 2009, 2:16:42 PM5/1/09
to gnom...@googlegroups.com
Just on a preliminary search, the Dbus plugin for Songbird only supports reporting the current status (Artist, Title, Playing or Paused, etc). So until that plugin is updated, true control ala our Rhythmbox or Banshee plugins will be impossible. But I could be wrong (wouldn't be the first time).

--Ashton Kemerling

Chris Szikszoy

unread,
May 1, 2009, 3:32:50 PM5/1/09
to gnom...@googlegroups.com
It still may be possible to make a plugin for Songbird even though
there is no fully established DBUS interface. Rhythmbox plugin
actually uses R'box's CLI interface. If Songbird had any sort of cli
interface (and it could support next, previous, play pause, etc) then
it would be possible to make a plugin.

Joe

unread,
May 2, 2009, 3:07:40 PM5/2/09
to GNOME Do
Here is the Songbird addon for CLI.

http://addons.songbirdnest.com/addon/1381

I haven't tried it, but after adding that the plugin should pretty
much write itself ;)

On May 1, 12:32 pm, Chris Szikszoy <chris.sziks...@gmail.com> wrote:
> It still may be possible to make a plugin for Songbird even though
> there is no fully established DBUS interface.  Rhythmbox plugin
> actually uses R'box's CLI interface.  If Songbird had any sort of cli
> interface (and it could support next, previous, play pause, etc) then
> it would be possible to make a plugin.
>
> On Fri, May 1, 2009 at 11:16 AM, Ashton Kemerling
>
> <ashtonkemerl...@gmail.com> wrote:
> > Just on a preliminary search, the Dbus plugin for Songbird only supports
> > reporting the current status (Artist, Title, Playing or Paused, etc). So
> > until that plugin is updated, true control ala our Rhythmbox or Banshee
> > plugins will be impossible. But I could be wrong (wouldn't be the first
> > time).
>
> > --Ashton Kemerling
>

ic3man

unread,
May 6, 2009, 11:33:56 AM5/6/09
to GNOME Do
Apparently Songbird also has the command line controls built in. I
couldn't get that plugin to work on linux, but the command line
options listed in this bug report work:

http://bugzilla.songbirdnest.com/show_bug.cgi?id=2788

Here's the list of options:

playback.volumeup
playback.volumedown
playback.nexttrack
playback.previoustrack
playback.playpause
playback.pause
playback.stop

So for example to play a song, this is the command that would be
issued:

./songbird --hotkey=playback.playpause

Does anyone have a guide to writing gnome-do plugins or anything. I
don't do much programming myself, but if this is fairly easy to do, I
wouldn't mind taking a swing at it, but I don't really know where to
start.

Thanks!

Alex Launi

unread,
May 6, 2009, 1:47:00 PM5/6/09
to gnom...@googlegroups.com
Here's an (incomplete) API guide that should eventually turn into more of a tutorial
http://do.davebsd.com/wiki/index.php?title=Writing_Plugins

And here's a guide on setting up your environment to work on Do, read this first:
http://do.davebsd.com/wiki/index.php?title=Getting_started_with_writing_plugins


--
--Alex Launi
Reply all
Reply to author
Forward
0 new messages