yuliskov / SmartTube

SmartTube - an advanced player for set-top boxes and tvs running Android OS
https://www.patreon.com/smarttube
Other
19.9k stars 1.07k forks source link

[Feature Req] Hotkeys (bluetooth keyboard) #2032

Open rodalpho opened 1 year ago

rodalpho commented 1 year ago

My android TV's remote control looks like a bluetooth keyboard, and I can configure it to send any keys I want. I would like the ability to run specific commands from those keys. Specifically, something like:

C = toggle the CC (closed captions) button D = go into the CC options I = toggle the information panel S = toggle stats for nerds O = toggle Sponsorblock (I wouldn't use this myself, but others would probably benefit) P = go to the previous video in sequence N = go to the next video in sequence Q = toggle the quality panel (and probably everything else like play/pause, skip back/fwd, go to the channel, etc, would be useful to somebody)

I'd be perfectly fine with copying a config file to the device storage if you don't think this is worth the effort to add to the UI.

hiroo916 commented 1 year ago

I'd like this feature also. I have a remote that has full keyboard on the back and it would be great to be able to turn things on/off with one key. Especially the CC and Playback speed on/off.

Generalize this request by showing a list of functions and the user can set which key they want to assign to that function.