Re: [Rhythmbox-devel] retreive rythmbox status via shell script.....

actually i got it soon after i posted that. the import bonobo.ui needed
to be removed/commented out, and the one reference to it replaced with
just straight up bonobo, no ui. after that, a little bit of playing
around (i'm only written a few basic python scripts/programs before
this), and it got it doing everything i need it to do. the best part is,
before i was using all sorts of temp files etc so i could run perl on
them etc, plus i had to have the  "id3" program installed and xmms-info
pipe, bla bla bla. now i can get everything from one place, do what i
need in python, and the only non-python thing is a
commands.getoutput('scp file me host:/file') to toss this little piece
of html to a place my website does and "include" from. awesome. thanks
for the help. next project: modify the gaim-rhythmbox plugin to show
song last played, instead of current...maybe..i'll at least poke around.
thanks again for the help.

On Thu, 2005-04-28 at 08:14 +1000, Jonathan Matthew wrote:
> On Wed, Apr 27, 2005 at 10:04:07AM -0400, mat nicholson wrote:
> > Jon,
> > 
> > i got a hackish version of my script running for now, but would really 
> > like to get into the bonobo client for my own personal benifit, however, 
> > with the code you gave me, i am getting this: (i did not alter anythign 
> > and was jsut runnign it as a test to see what i was dealing with...)
> > 
> > Traceback (most recent call last):
> >  File "./", line 7, in ?
> >    import bonobo.ui
> > ImportError: could not import gtk._gtk
> > 
> > any particular python bindings i need? i have teh python2.4-gtk2 binding 
> > installed and have been searching for related packages to no avail. any 
> > help would be great. thanks for the reply and suggestions.
> First, check which version of python you're using (run python -V).
> You need the gtk2 and gnome2 bindings for that version.
> I'm using python 2.3.5 on Debian, so I have python2.3-gtk2 and 
> python2.3-gnome2 installed.  Package names may differ for other
> distributions.
> -jonathan
> _______________________________________________
> rhythmbox-devel mailing list
> rhythmbox-devel gnome org

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