Index of /software_projects/2005/rhythmboxlirc
This is RhythmboxLIRC, a program to control the
Rhythmbox music player with a remote control
supported by the LIRC interface.
RhythmboxLIRC -- A LIRC interface for the Rhythmbox music player
Copyright (C) 2005 Oliver M. Haynold
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Before you can use RhythmboxLIRC you need to make sure that you have
the following installed on your system:
Python (comes with most modern GNU/Linux distributions)
gnome-python, the Python bindings for GNOME (available with most
modern GNU/Linux distributions)
pyLIRC (you will probably have to download it from
SourceForge and compile
Once that is done, all you need to do is to drop rhythmboxlirc.py
somewhere in your PATH.
Now all that remains to do is to make a lircrc file for
RhythmboxLIRC. I have included a sample that works with the remote
control that comes with the Creative Soundblaster Extigy, but you will
probably need to modify it for your remote control. RhythmboxLIRC
looks for a lircrc file in ~/.lircrc and /etc/lirc/lircrc.
Now start "python rhythmboxlirc.py", preferably from a terminal
window so that you can see error messages, if there are any. You can
switch diagnostic output on with the "-v" option.
Just punch your commands into your remote control and Rhythmbox should
obey. If no instance of Rhythmbox is running a new one will be created