NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Linux v
« Previous 1 … 7 8 9 10 11 … 34 Next »
Keyboard hot keys not working

 
  • 0 Vote(s) - 0 Average
Keyboard hot keys not working
andrew66
Offline

Junior Member

australia
Posts: 5
Threads: 1
Joined: May 2023
#1
2023-05-03, 07:53 AM
Hi Guys,

New to Nextpvr. I have successfully set it up in linux mint (ver 20.3) running an xbox usb tuner.
The only hot key that works on the keyboard is the space bar which pauses live TV.
No other keys work. Some keys bring up native browser shortcuts, e.g bookmarks.
I have tried both chrome & firefox with the same results. Couldn't see anything in the settings menu.
Log file attached. Nextpvr ver 6.1.2.230502

Any help appreciated

Regards,
Andrew


Attached Files
.zip   logs-20230503-1636.zip (Size: 540.59 KB / Downloads: 2)
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,132
Threads: 957
Joined: May 2006
#2
2023-05-03, 08:17 AM
It looks like the browser UI client does not support control keys. Arrows, enter, escape, home etc and the mouse should work to get most things working.

Martin
andrew66
Offline

Junior Member

australia
Posts: 5
Threads: 1
Joined: May 2023
#3
2023-05-03, 08:58 AM
Thanks Martin,

Yes the mouse works but would be much easier using the keyboard for some functions.
Is this something limited to linux installations?

Andrew
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,132
Threads: 957
Joined: May 2006
#4
2023-05-03, 11:43 AM (This post was last modified: 2023-05-03, 12:15 PM by mvallevand.)
No it is the browser UI client not handling the control or alt key. I am not sure if browser shortcut keys can (or should) be overwritten either.

Not knowing what sub's solution might be, for now you can modify /opt/nextpvr/system/data/KeyMappings.xml and remove all the {CTRL} references so it is one letter command it will work but then real direct play UI clients won't. A better hack to make all the letter keys send control by modifying /opt/nextpvr/system/wwwroot/uiclient.html and inserting the if function in lines 218-220 as shown will let

Code:
function processKeyEvent(keyCode) {
            if (keyCode >= 65 || keyCode <= 90) {
                keyCode += 0x20000;
            }

Of course on Linux you can always use Kodi and and use either the dedicated NextPVR client or use the UI client in knewc with the benefit of direct play. I am working on creating aUI client for Linux too.

Martin
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,789
Threads: 769
Joined: Nov 2003
#5
2023-05-03, 07:11 PM
FYI, that uiclient.html is a fairly recent experiment, that attempts to force a UI client into a web page. I don't think I've ever had any feedback from users about it, so it's admittedly not very well tested.

The attached an updated uiclient.html that should behave better with ctrl keys etc.


Attached Files
.zip   uiclient.zip (Size: 5.29 KB / Downloads: 1)
andrew66
Offline

Junior Member

australia
Posts: 5
Threads: 1
Joined: May 2023
#6
2023-05-03, 09:46 PM
Thanks for the feedback guys. I'll have a play with the key mappings in the coming days.
My main issue is changing channels. If I'm in a full screen I need to hit ESC and use the mouse
to do this. It would be much easier to use the +/- keys.

I did try the other UI client from the settings menu and the hot keys do work but it's somewhat
unstable on my system. It tends to freeze on channel changes.
I'm not a fan of Kodi so it's not really an option at this stage.

Andrew
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,132
Threads: 957
Joined: May 2006
#7
2023-05-03, 09:52 PM (This post was last modified: 2023-05-03, 09:55 PM by mvallevand.)
I don't think there is much keyboard support in the standard web player itself, I saw the UI client in the logs that is what I thought you meant. Don't expect STB Live TV channel change experience with transcoded playback.

knewc for Kodi gives you the UI client with the advantage of direct play so channel changes would probably be better. You can autostart it and not even see Kodi.

Martin
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,789
Threads: 769
Joined: Nov 2003
#8
2023-05-03, 10:01 PM
Oh yeah, the normal web app pages totally have no keyboard control, and are entirely intended to be driven by the mouse. scrolling, clicking etc.

The only part of the web app with keyboard control is that uiclient.html
andrew66
Offline

Junior Member

australia
Posts: 5
Threads: 1
Joined: May 2023
#9
2023-05-04, 12:30 AM
Quote:knewc for Kodi gives you the UI client with the advantage of direct play so channel changes would probably be better. You can autostart it and not even see Kodi.

This maybe an option worth looking at. Thanks Martin
andrew66
Offline

Junior Member

australia
Posts: 5
Threads: 1
Joined: May 2023
#10
2023-05-10, 07:22 AM
Had a play today with the Kodi / Knewc setup mentioned above. I found the performance no better then the browser UI.
For the time being I will stick with the browser UI, I know it's subjective but I much prefer this over the Kodi interface.
I look forward to a dedicated linux client.

Andrew
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (2): 1 2 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  Hauppauge-HVR-850 not working Rooh2os 3 236 2025-06-08, 04:21 PM
Last Post: mvallevand
  Extra - {channel} argument not working? blitz2kx 2 672 2024-06-11, 03:54 PM
Last Post: blitz2kx
  Live stream not working while recording pciber 6 1,119 2024-06-10, 07:48 AM
Last Post: pciber
  HDHomerun channel scan not working WagMan 2 818 2023-12-06, 02:38 PM
Last Post: mvallevand
  Settings pages not working or display anything nonuoha 1 659 2022-11-16, 04:00 AM
Last Post: mvallevand
  IPTV channels not working after network changes spagio 11 2,704 2022-10-19, 05:41 PM
Last Post: sub
  (Some) Satellite channels not working : Writer failed to get PMT pid cheeseborough 1 916 2022-04-10, 01:26 PM
Last Post: mvallevand
  Reproducible failure after working briefly on Ubuntu Server sayssar 6 1,541 2022-03-24, 11:38 PM
Last Post: sub
  DefaultDirectoryChoice spread not working Lanhydrock 7 1,806 2021-11-03, 07:44 PM
Last Post: sub
  EPG not working on OpenSUSE install. t2t4 1 1,321 2021-03-30, 04:45 PM
Last Post: Graham

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode