![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
|
Tutorials & Tips The place to find Ubuntu related Tips & Tricks. |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
5 Cups of Ubuntu
![]() |
HOWTO: Deskbar rhythmbox plugin
Credit goes to Ryan Rousseau for creating this plugin
Deskbar can be extended very easily with plugins (known as handlers) written in python. Ryan Rousseau has written a nice one that reads the rhythmbox xml file and can play and control Rhythmbox directly from deskbar. To install the rhythmbox plugin for the current user. Download the attached file and copy it to: Code:
~/.gnome2/deskbar-applet/handlers Code:
/usr/lib/deskbar-applet/handlers Now deskbar already knows where your rhythmbox xml database is and you can already search and play your songs. *Note, at this point I think you can only search on song name. If someone else knows python, they could modify this script to enable searching via other database tags. Ryan has given permission for others to modify this deskbar handler.
__________________
Linux - Many are called, but few are chosen |
|
|
|
|
|
#2 |
|
Just Give Me the Beans!
![]() Join Date: Nov 2005
Location: Boca Raton, Fl, USA
Beans: 80
Ubuntu 9.10 Karmic Koala
|
Re: HOWTO: Deskbar rhythmbox plugin
This is seriously good. Thanks, Ryan!
|
|
|
|
|
|
#3 |
|
First Cup of Ubuntu
![]() |
Re: HOWTO: Deskbar rhythmbox plugin
Great Plugin!
|
|
|
|
|
|
#4 |
|
Chocolate-Covered Ubuntu Beans
![]() |
Re: HOWTO: Deskbar rhythmbox plugin
One more interesting function of the Deskbar. Neat !
__________________
All things Me | Help | Wiki | Guide | You can also help yourself...
Ubuntu user #143 | Linux user #416263 |
|
|
|
|
|
#5 |
|
Gee! These Aren't Roasted!
![]() Join Date: Jul 2006
Location: Trinidad and Tobago
Beans: 160
Ubuntu 9.10 Karmic Koala
|
Re: HOWTO: Deskbar rhythmbox plugin
I just tried this. My music is on a gnome-vfs ssh share and when I typed the name of a song I got a crash.
I think it's related to the fact I'm on a ssh share because I get this coming up: Code:
Traceback (most recent call last):
File "/usr/lib/python2.5/site-packages/deskbar/DeskbarApplet.py", line 177, in on_start_query_real
matches = modctx.module.query(qstring)
File "/home/richard/.gnome2/deskbar-applet/handlers/rhythmbox.py", line 180, in query
path = gnomevfs.get_local_path_from_uri(path)
RuntimeError: unknown error
- rmjb
__________________
Registered Linux User #422402 |
|
|
|
|
|
#6 |
|
First Cup of Ubuntu
![]() |
Re: HOWTO: Deskbar rhythmbox plugin
Thats pretty neat thank you!
|
|
|
|
|
|
#7 |
|
First Cup of Ubuntu
![]() |
Re: HOWTO: Deskbar rhythmbox plugin
i too had a similar problem, maybe because i load it in the 'Failsafe GNOME' mode, the error pops up
|
|
|
|
|
|
#8 |
|
5 Cups of Ubuntu
![]() |
Re: HOWTO: Deskbar rhythmbox plugin
The song search worked but controlling Rhythmbox didn't. I fixed this by changing "rhythmbox" to "rhythmbox-client" on line 44 of the script:
Code:
argv = ['rhythmbox', self.rb_arg] Code:
argv = ['rhythmbox-client', self.rb_arg] |
|
|
|
|
|
#9 |
|
First Cup of Ubuntu
![]() Join Date: Sep 2007
Beans: 1
Gutsy Gibbon Testing
|
Re: HOWTO: Deskbar rhythmbox plugin
I really liked this applet, but I upgraded to Gutsy Gibbon, and it broke, because they switched to a new Deskbar-applet API, so I updated this plugin and gave the ability to search Song Title, Artist, and Album.
Place this in Code:
~/.gnome2/deskbar-applet/modules-2.20-compatible Code:
/usr/lib/deskbar-applet/modules-2.20-compatible/ Massive props to Ryan Rousseau for writing the original. Last edited by mabrowning; September 6th, 2007 at 11:29 AM.. |
|
|
|
|
|
#10 |
|
Just Give Me the Beans!
![]() Join Date: Nov 2005
Location: Boca Raton, Fl, USA
Beans: 80
Ubuntu 9.10 Karmic Koala
|
Re: HOWTO: Deskbar rhythmbox plugin
Just noticed your comment... thank you for updating this!
|
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|