After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 558464 - rhythmbox_lirc_default has an error in it
rhythmbox_lirc_default has an error in it
Status: RESOLVED FIXED
Product: rhythmbox
Classification: Other
Component: Plugins (other)
0.11.x
Other All
: Normal normal
: ---
Assigned To: RhythmBox Maintainers
RhythmBox Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-10-29 22:18 UTC by JP
Modified: 2008-10-31 03:21 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description JP 2008-10-29 22:18:59 UTC
Please describe the problem:
On Ubuntu 8.10, "/usr/lib/rhythmbox/plugins/rblirc/rhythmbox_lirc_default" has an error in it (causing the "skip back 1 track" button on any ir remote to fail):

begin
        prog = Rhythmbox
        remote = *
        button = previous
        repeat = 1
        config = KEY_PREVIOUS
end

This should be:

begin
        prog = Rhythmbox
        remote = *
        button = KEY_PREVIOUS
        repeat = 1
        config = previous
end

Next to the error mentioned above, isn't it possible to simply include this in the ~/.lirc folder (as in, the user doesn't have to do that himself/herself anymore)?

I also found that I had to enter the correct values for the button variables myself, replacing the values in the file (I made a copy of it in my ~/.lirc folder to keep everything nicely together). Is that intentional or is it simply a misconfiguration?

Steps to reproduce:
1. install the prerequisite packages (I don't know on the top of my head which ones these are, and they will possibly differ between distributions).
2. Open "/usr/lib/rhythmbox/plugins/rblirc/rhythmbox_lirc_default" with you favorite text editor (or just vim :P)
3. Search for the "previous"-key functionality part.
4. In my case, I copied it to ~/.lirc, added a reference to it in ~/.lircrc, modified the "button"-entries in the file to match my MS MCE remote
5. Reboot lircd and opened rhythmbox
6. Try the "previous track" button on the remote.


Actual results:
Precisely nothing.

Expected results:
I expected the track above the current one to start playing instead of the current one. 

Does this happen every time?
Without a single miss.

Other information:
As stated in the description, this is easily fixable by just reversing the assignments for "button" and "config".
Comment 1 Bastien Nocera 2008-10-30 11:08:08 UTC
(In reply to comment #0)
<snip>
> Next to the error mentioned above, isn't it possible to simply include this in
> the ~/.lirc folder (as in, the user doesn't have to do that himself/herself
> anymore)?

It should be possible to extend or replace configuration made in the LIRC file using a custom ~/.lircrc.

2008-10-30  Bastien Nocera  <hadess@hadess.net>

        * plugins/lirc/rhythmbox_lirc_default: Fix "previous" key 
        configuration, spotted by jeanpaul145@gmail.com
        (Closes: #558464)
Comment 2 JP 2008-10-31 03:21:13 UTC
Just as a clarification: I *can* edit/replace the file on my own system; I just noticed the bug when I needed that file.