Kodi Community Forum
Solved Cannot get PlayerControl(tempoup) to work with 18.0b5 ... no effect on playback speed - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: Linux (https://forum.kodi.tv/forumdisplay.php?fid=52)
+---- Thread: Solved Cannot get PlayerControl(tempoup) to work with 18.0b5 ... no effect on playback speed (/showthread.php?tid=337407)



Cannot get PlayerControl(tempoup) to work with 18.0b5 ... no effect on playback speed - graysky - 2018-11-11

I read this thread wherein the PlayerControl(tempoup) and PlayerControl(tempodown) commands are shown which allow speed up of video+audio up to 1.5x.  I added the code shown at that link to a new textfile ~.kodi/userdata/keymaps/custom.xml
 
When I launch kodi with debugging, recognizes that I am hitting that button to use the command, but there is no effect on video playback. I am running 18.0b5 on Linux x86_64. Thanks for any insights.

Complete debug log: https://gist.github.com/graysky2/c5b8ef022a428b302e9f86e6ccb25563

Snippet:
Code:
...
13:28:10.288 T:140522416964416 DEBUG: Keyboard: scancode: 0x23, sym: 0x005d, unicode: 0x005d, modifier: 0x0
13:28:10.288 T:140522416964416 DEBUG: HandleKey: closesquarebracket (0xf05d) pressed, action is PlayerControl(tempoup)
13:28:10.405 T:140522416964416 DEBUG: Keyboard: scancode: 0x23, sym: 0x005d, unicode: 0x0000, modifier: 0x0
13:28:11.388 T:140522416964416 DEBUG: Keyboard: scancode: 0x23, sym: 0x005d, unicode: 0x005d, modifier: 0x0
13:28:11.388 T:140522416964416 DEBUG: HandleKey: closesquarebracket (0xf05d) pressed, action is PlayerControl(tempoup)
13:28:11.471 T:140522416964416 DEBUG: Keyboard: scancode: 0x23, sym: 0x005d, unicode: 0x0000, modifier: 0x0
13:28:11.871 T:140522416964416 DEBUG: Keyboard: scancode: 0x23, sym: 0x005d, unicode: 0x005d, modifier: 0x0
13:28:11.871 T:140522416964416 DEBUG: HandleKey: closesquarebracket (0xf05d) pressed, action is PlayerControl(tempoup)
13:28:11.955 T:140522416964416 DEBUG: Keyboard: scancode: 0x23, sym: 0x005d, unicode: 0x0000, modifier: 0x0
13:28:12.905 T:140522416964416 DEBUG: Keyboard: scancode: 0x22, sym: 0x005b, unicode: 0x005b, modifier: 0x0
13:28:12.905 T:140522416964416 DEBUG: HandleKey: opensquarebracket (0xf05b) pressed, action is PlayerControl(tempodown)
13:28:12.988 T:140522416964416 DEBUG: Keyboard: scancode: 0x22, sym: 0x005b, unicode: 0x0000, modifier: 0x0
13:28:13.405 T:140522416964416 DEBUG: Keyboard: scancode: 0x22, sym: 0x005b, unicode: 0x005b, modifier: 0x0
13:28:13.405 T:140522416964416 DEBUG: HandleKey: opensquarebracket (0xf05b) pressed, action is PlayerControl(tempodown)
13:28:13.488 T:140522416964416 DEBUG: Keyboard: scancode: 0x22, sym: 0x005b, unicode: 0x0000, modifier: 0x0
13:28:16.838 T:140522416964416 DEBUG: Keyboard: scancode: 0x40, sym: 0x0134, unicode: 0x0000, modifier: 0x100
...



RE: Cannot get PlayerControl(tempoup) to work with 18.0b5 ... no effect on playback speed - Rechi - 2018-11-11

Have you enabled sync playback to display?


RE: Cannot get PlayerControl(tempoup) to work with 18.0b5 ... no effect on playback speed - graysky - 2018-11-11

(2018-11-11, 21:12)Rechi Wrote: Have you enabled sync playback to display?
 No... that was my problem.  Thank you for the pointer!


RE: Cannot get PlayerControl(tempoup) to work with 18.0b5 ... no effect on playback speed - DaVu - 2018-11-12

Just to complete it. The documents are sometimes helpful in those cases Wink

https://codedocs.xyz/xbmc/xbmc/page__list_of_built_in_functions.html#built_in_functions_12

There's a note under the possible player controls mentioning exactly that