You could listen to a signal to see if Rhythmbox is ready, but I couldn't
find a signal that can do that.
You can put the song in the Queue (shell.add_to_queue) when your plugin is
activated.

On Dec 26, 2007 3:24 PM, Nicholas S. Clarkson <
[EMAIL PROTECTED]> wrote:

> Hello,
>        I am writing a Rhythmbox plugin to save and restore the playing
> song. I
> have got my plugin to work through a menu option but I would rather it
> work on load and close. However, it appears that the db and play
> functions I am trying to use are not available to my plugin at
> activation/deactivation. Is there a way to adjust the time at which my
> plugin is activate/deactivated so that the necessary functions are
> available?
>
> Thanks
> Nicholas
>
>
> _______________________________________________
> rhythmbox-devel mailing list
> [email protected]
> http://mail.gnome.org/mailman/listinfo/rhythmbox-devel
>



-- 
Alexandre Rosenfeld
_______________________________________________
rhythmbox-devel mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/rhythmbox-devel

Reply via email to