Fix for Play/Pause key on some MCE remotes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kodi (Ubuntu) |
Confirmed
|
Medium
|
Unassigned |
Bug Description
The file /usr/share/
#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
ProcVersionSign
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.
mtime.conffile.
Changed in lirc (Ubuntu): | |
status: | New → Confirmed |
Changed in lirc (Ubuntu): | |
importance: | Undecided → Medium |
affects: | lirc (Ubuntu) → kodi (Ubuntu) |
Such a fix is just not possible in latest lirc 0.9.4 since it does not contain any remotes definitions. Although it's possible to patch current version, from zesty+ the remote definitions lives in http:// sf.net/ p/lirc- remotes; this is also whar other distros use. So, the best solution here would be to close this ticket and open a new at the upstream remotes project.