multimedia keys bug
#1
Before I describe the issue I should mention that this concerns the Windows version 17.0 Krypton rc4 (latest version as of this post) running on Windows 8.1. When I use the << (rewind) and >> (fast forward) buttons, not to be confused with previous |< and next >|, on a remote that uses the standard multimedia keys (the ones that pretty much all media players use) when playing a movie in Kodi they are handled incorrectly. It responds with 2 different simultaneous actions. when hitting the << (rewind) button, it seeks about -2 minutes (the exact number of seconds depends on the length of the movie because it appears to be a percentage of the full movie length, so about 2 minutes if it's a 2 hour movie) and also rewinds 2x until you hit play or another multimedia key. When hitting the >> (fast forward) button, it seeks about 2 minutes forward and also begins fast forwarding 2x. When you hit either key again it rewinds or fast forwards at 4x speed. The rewinding and fast forwarding are the expected and desired actions for it to take, but the seeking 2 minutes backward and forward are not. If I just want to go back a few seconds I should be able to which the rewind and fast forward function is able to do for me, but instead it is going back 3 minutes which is way too far back or forward without any option to go back any less. So, in short, the player should not be seeking 2 minutes forward or backward when pressing the << (rewind) and >> (fast forward) buttons. It should just rewind and fast forward like you would expect it to do. Please fix this issue because I can't really use this player if I don't have proper rewind and fast forward functionality. This is defeinitely a pretty major issue because it is a basic player function that is not properly working, making the player pretty much useless until it gets fixed, which I hope happens soon.
Reply
#2
This shouldn't be happening so I'm not sure there is anything to fix, it would help if you could provide the following:

What OS are you using?

What version of Kodi?

Have you modified the keymaps?

Can you paste a debug Log_file (wiki) to pastebin

Also please don't duplicate your postings in different parts of the forum.
Reply
#3
I'm also moving this thread to the support section.
Reply
#4
Windows version: Windows 8.1
Kodi version: 17.0 Krypton rc4

I have not modified keymaps.

debug file: http://pastebin.com/0EnCEyUs

I turned on debugging, played the video, hit rewind, fast forward, then play/pause (to resume playback, then play/pause (to pause), then turned off debugging. Hopefully you'll see what went wrong.
Reply
#5
From Line 1528 I see a load of consecutive actions, what type of device are you using to control Kodi? keyboard? remote?
Reply
#6
I just tested for this issue on another pc running windows 7 sp1 and the same thing happened. Here is the log from that pc:

http://pastebin.com/0HHwMxcj

Again, kept it simple: turned on debugging, played video, hit fast forward, rewind. then play/pause (to play), then play/pause (to pause), then turned off debugging, then exited Kodi.
Reply
#7
It is an IR remote, generic (I don't see any branding other than "PC REMOTE" on it, appears as "HID complaint mouse" in device manager and uses a Microsoft driver supplied with windows (2 files: C:\Windows\system32\DRIVERS\mouclass.sys and C:\Windows\system32\DRIVERS\mouhid.sys). Let me know if you need any other info.
Reply
#8
It was definitely working for me using a keyboard on Tuesday when is when I was last doing some testing using the pre-RC4 nightly builds. If I've got time later, I'll check when I'm home from work to make sure that nothing amiss has accidentally got into RC4.

In meantime could you answer exactly the type and model of control device you are using. (edit: I now see you've answered)
Reply
#9
I was able to stop the analogseekback and analogseekforward events using a keymap file so those are no longer a problem. those were the following lines in the first log:
1532 11:03:07.567 T:6504 DEBUG: CInputManager::OnKey: ctrl-left (0x1f082) pressed, action is analogseekback
1771 11:03:11.448 T:6504 DEBUG: CInputManager::OnKey: ctrl-right (0x1f083) pressed, action is analogseekforward

I also needed to stop the following events from occurring, which you can see in this log:

CInputManager::OnKey: left (0xf082) pressed, action is StepBack
CInputManager::OnKey: right (0xf083) pressed, action is StepForward

I was able to stop those events from occurring using keymaps, but for some reason it ignores this keymapping sometimes, so sometimes it behaves correctly and ignores the left and right keys, and other times it will respond to them. I haven't figured out what is causing this to occur.

Here the contents of the keyboard.xml file with the key mappings: http://pastebin.com/BVuCFVm8

Here is the log file showing how Kodi is responding to the left and right key presses: http://pastebin.com/YWQk5xhU

Notice how sometimes it is responding to OnKey: left with StepBack and OnKey: right with StepForward and other times it responds according to my keymap and does nothing, which is my intention. So this leaves my wondering why it is responding inconsistently to my keystrokes. Can you figure out why this is occurring and recommend a solution?
Reply
#10
(2017-01-27, 21:35)dluxx Wrote: I was able to stop the analogseekback and analogseekforward events using a keymap file so those are no longer a problem. those were the following lines in the first log:
1532 11:03:07.567 T:6504 DEBUG: CInputManager::OnKey: ctrl-left (0x1f082) pressed, action is analogseekback
1771 11:03:11.448 T:6504 DEBUG: CInputManager::OnKey: ctrl-right (0x1f083) pressed, action is analogseekforward

I also needed to stop the following events from occurring, which you can see in this log:

CInputManager::OnKey: left (0xf082) pressed, action is StepBack
CInputManager::OnKey: right (0xf083) pressed, action is StepForward

I was able to stop those events from occurring using keymaps, but for some reason it ignores this keymapping sometimes, so sometimes it behaves correctly and ignores the left and right keys, and other times it will respond to them. I haven't figured out what is causing this to occur.

Here the contents of the keyboard.xml file with the key mappings: http://pastebin.com/BVuCFVm8

Here is the log file showing how Kodi is responding to the left and right key presses: http://pastebin.com/YWQk5xhU

Notice how sometimes it is responding to OnKey: left with StepBack and OnKey: right with StepForward and other times it responds according to my keymap and does nothing, which is my intention. So this leaves my wondering why it is responding inconsistently to my keystrokes. Can you figure out why this is occurring and recommend a solution?

As expected, you need a little bit of reading:

http://kodi.wiki/index.php?title=Forum_r...acy_Policy

http://kodi.wiki/view/Official:Forum_rul...ed_add-ons

No support as long as your kodi install include one of those...
Moanbag is in da place!
Reply

Logout Mark Read Team Forum Stats Members Help
multimedia keys bug0