mythbuntu-bugs team mailing list archive
-
mythbuntu-bugs team
-
Mailing list archive
-
Message #10420
[Bug 1623512] Re: Fix for Play/Pause key on some MCE remotes
Setting this to confirmed since the remote definition differs from the
sort-of-upstream lirc-remotes.
Basically this is a Kodi bug since Kodi (as the only major client) does
not respect the mappings done by lircrc but instead reads the raw codes
from lircd. One of the purposes of lircrc is to handle problems like
this, and so it does - when used.
Since re-mapping this key according to the patch would break
configurations for other users which have handled this using .lircrc I'd
recommend closing this bug as wontfix.
Someone should file a bug against Kodi for bad behaviour. It's too late
to skip the raw reads from lircd, but adding an option to use lircrc is
IMHO the right path. Kodi does some mapping, but lircrc is more than
mappings: modes, repeat suppression, long keypresses and so on.
--
You received this bug notification because you are a member of Mythbuntu
Bug Team, which is subscribed to lirc in Ubuntu.
https://bugs.launchpad.net/bugs/1623512
Title:
Fix for Play/Pause key on some MCE remotes
Status in lirc package in Ubuntu:
Confirmed
Bug description:
The file /usr/share/lirc/remotes/mceusb/lircd.conf.mceusb contains a
section reading:
#seen on HP Pavilion dv3t remote --Tim Mann, 3 Nov 2009
Media 0x00007b7f
PlayPause 0x00007b91
I have a Compro VideoMate K300 remote, and I can't find a key
corresponding to Media, but it does have a Play/Pause key generating
the same code as above (0x7b91).
However, using it with Kodi, for example, it does nothing useful,
because Kodi does not recognise the "PlayPause" code.
I suggest that for Kodi, XMBC & similar programs it's probably more
useful to change the code output to KEY_PLAY. (I tried KEY_PLAYPAUSE,
which is also mentioned in Kodi's Lircmap.xml, but that did not work
in Kodi: nothing happened when I pressed the key.) With KEY_PLAY, the
key works as expected: it plays or pauses the music.
The change is to change "PlayPause" in the above line to "KEY_PLAY".
Arguably, the correct fix is to change the keycode to "KEY_PLAYPAUSE",
and then make Kodi correctly respond to "KEY_PLAYPAUSE". I attempted
to do this by editing Kodi's Lircmap.xml, but failed.
I looked at upstream lirc, but that has completely changed the
organisation of remote config files since 0.9.0, so it seems most
appropriate to make a fix in Ubuntu (and possibly Debian).
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: lirc 0.9.0-0ubuntu6
ProcVersionSignature: Ubuntu 4.4.0-34.53-generic 4.4.15
Uname: Linux 4.4.0-34-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: amd64
CurrentDesktop: GNOME
Date: Wed Sep 14 14:00:37 2016
InstallationDate: Installed on 2014-11-26 (658 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417)
SourcePackage: lirc
UpgradeStatus: Upgraded to xenial on 2016-07-25 (50 days ago)
mtime.conffile..etc.lirc.hardware.conf: 2016-09-14T12:27:53.394843
mtime.conffile..etc.lirc.lircd.conf: 2016-09-14T13:55:14.416867
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lirc/+bug/1623512/+subscriptions
References