← Back to team overview

mythbuntu-bugs team mailing list archive

[Bug 1623512] Re: Fix for Play/Pause key on some MCE remotes

 

I'm just the upstream maintainer, so I'm not involved in if/how current
stable releases are patched. That said, since new users will use the new
database I'd suggest you file a bug there for the benefit of those; this
is not to say anything about whether xenial should be patched or not

-- 
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:
  New

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