Re: [Rhythmbox-devel] rb applet



On Wed, 2003-09-10 at 19:07, William Jon McCann wrote:
> Hi,
> 
> I have made an attempt at creating a panel applet for rhythmbox.  It 
> seems to work fairly well considering this is a first try.
> 
> <http://acs.pha.jhu.edu/~mccannwj/rhythmbox/rb-applet-0.1.tar>
> 
> This code drops into the top level of HEAD and the build is enabled by 
> the attached patch.
> 
> There are two known issues:
> 
> * There doesn't seem to be an easy way to determine if RB is paused. 
>  From the IDL:
>     long getPlayingTime ();         /* returns -1 if not playing */
> But when a song is paused the playing time just stays the same, and is 
> positive.
> 
> This makes it hard to update the play/pause button state.


(paused) is currently appended to the song title AFAIK so you could
parse that.


> * When the applet is added to the panel, RB will restart after it is exited.
> 

No idea here.  It could be related to the bonobo stuff, I've noticed
lots of problems with the bonobo based sensor I played with for
gdesklets.

> Please let me know what you think.  This is my first applet so be kind ;).
> 
> Jon
> 
> PS. I used the GNOME-cdplayer-applet code as a template so things 
> shouldn't be too wierd.

ok, great
-- 
Douglas McMorris <virage83@mail.utexas.edu>




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]