Re: [Rhythmbox-devel] about rhythmbox

On Mon, Sep 05, 2005 at 05:35:12PM +0200, Adal Alom wrote:
> hi!
> At first sorry about my english.
> Second. Can Rhythmbox have an option that makes rhythmbox strat playing 
> when it loads?

In current CVS, if compiled with bonobo, you can just run 
'rhythmbox --play' and it will start playing from the library as soon as
it is loaded.  

If compiled with dbus, you can use something like this to launch it:

import dbus
bus = dbus.SessionBus()
obj = bus.get_object('org.gnome.Rhythmbox','/org/gnome/Rhythmbox/Player')
rbplayer = dbus.Interface(obj, 'org.gnome.Rhythmbox.Player')

which will start rhythmbox as a dbus service, then make it play.


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