{"action":"created","issue":{"url":"https://api.github.com/repos/xbianonpi/xbian/issues/797","repository_url":"https://api.github.com/repos/xbianonpi/xbian","labels_url":"https://api.github.com/repos/xbianonpi/xbian/issues/797/labels{/name}","comments_url":"https://api.github.com/repos/xbianonpi/xbian/issues/797/comments","events_url":"https://api.github.com/repos/xbianonpi/xbian/issues/797/events","html_url":"https://github.com/xbianonpi/xbian/issues/797","id":124239173,"number":797,"title":"remote control commands executed twice","user":{"login":"Marsu31","id":16478866,"avatar_url":"https://avatars.githubusercontent.com/u/16478866?v=3","gravatar_id":"","url":"https://api.github.com/users/Marsu31","html_url":"https://github.com/Marsu31","followers_url":"https://api.github.com/users/Marsu31/followers","following_url":"https://api.github.com/users/Marsu31/following{/other_user}","gists_url":"https://api.github.com/users/Marsu31/gists{/gist_id}","starred_url":"https://api.github.com/users/Marsu31/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Marsu31/subscriptions","organizations_url":"https://api.github.com/users/Marsu31/orgs","repos_url":"https://api.github.com/users/Marsu31/repos","events_url":"https://api.github.com/users/Marsu31/events{/privacy}","received_events_url":"https://api.github.com/users/Marsu31/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2015-12-29T17:05:34Z","updated_at":"2016-03-23T07:33:01Z","closed_at":null,"body":"Hi,\r\n\r\nHardware : raspberry 2 with GPIO IR receiver (TSOP4838), Logitech Harmony emulating MCE-1039 remote.\r\nSoftware : xbian up to date \r\n\r\nThe MCE-1039 is recognized as \"mceusb\" remote.\r\nWhen I use it the moves are executed twice, this is the kodi.log for one click on right arrow :\r\n~~~\r\nDEBUG: Keyboard: scancode: 0x6a, sym: 0x0113, unicode: 0x0000, modifier: 0x0\r\nDEBUG: OnKey: right (0xf083) pressed, action is Right\r\nDEBUG: LIRC: Update - NEW at 39604:000000037ff07bde 00 KEY_RIGHT mceusb (KEY_RIGHT)\r\nDEBUG: OnKey: 168 (0xa8) pressed, action is Right\r\n~~~\r\n\r\nThe \"OK\" is not executed twice : \r\n~~~\r\nDEBUG: LIRC: Update - NEW at 3389751:000000037ff07bdd 00 KEY_OK mceusb (KEY_OK)\r\nDEBUG: OnKey: 11 (0x0b) pressed, action is Select\r\n~~~\r\n\r\nIf I restart lirc the kodi.log becomes :\r\n~~~\r\nDEBUG: Keyboard: scancode: 0x6a, sym: 0x0113, unicode: 0x0000, modifier: 0x0\r\nDEBUG: OnKey: right (0xf083) pressed, action is Right\r\n~~~\r\n\r\nbut, in this case, the key \"OK\" doesn't work anymore.\r\n\r\nI used *irw* to see what lirc understands and it returns exactly the keys I pressed, only once, not twice. It's like if the KEY_RIGHT was read twice, from 2 paths ? or 2 threads ?\r\n\r\nis this a bug or a configuration issue ?\r\n\r\nregards\r\n(sorry for my English)"},"comment":{"url":"https://api.github.com/repos/xbianonpi/xbian/issues/comments/200228709","html_url":"https://github.com/xbianonpi/xbian/issues/797#issuecomment-200228709","issue_url":"https://api.github.com/repos/xbianonpi/xbian/issues/797","id":200228709,"user":{"login":"jbkt","id":15199601,"avatar_url":"https://avatars.githubusercontent.com/u/15199601?v=3","gravatar_id":"","url":"https://api.github.com/users/jbkt","html_url":"https://github.com/jbkt","followers_url":"https://api.github.com/users/jbkt/followers","following_url":"https://api.github.com/users/jbkt/following{/other_user}","gists_url":"https://api.github.com/users/jbkt/gists{/gist_id}","starred_url":"https://api.github.com/users/jbkt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbkt/subscriptions","organizations_url":"https://api.github.com/users/jbkt/orgs","repos_url":"https://api.github.com/users/jbkt/repos","events_url":"https://api.github.com/users/jbkt/events{/privacy}","received_events_url":"https://api.github.com/users/jbkt/received_events","type":"User","site_admin":false},"created_at":"2016-03-23T07:33:01Z","updated_at":"2016-03-23T07:33:01Z","body":"I have just checked on my Ubuntu box: LIRC protocol is used. So I have tried `sudo ir-keytable -p LIRC` and it work the same as RC-6. So it semms that using tow protocols as the same time was the problem: twice the events sent to Kodi.\r\nNow OK (and perhaps other keys) is still not working even if I see the key pressed using irw, so I guess it is due to another configuration problem."}}