Jump to content

Programmable Remote Keymapping


Carlo

Recommended Posts

For clients that can use 3rd party remotes (ie Android TV) I'd like the ability to use a remote of my choosing and be able to map my remote to functions in Emby.

 

We should be able to keymap all important functions such as EPG popup in video, stats for nerds, RW, FF, jump back 10, 30, 60 seconds, jump forward 10, 30, 60 seconds, etc. We should be able to use the number keys to enter 3 or 4 digit channels for TV channel changes.

 

Basically any function available in the UI should have a key mapping associated with it so we can use it with advanced remotes.

 

The remote is our gateway to using Emby and the more functionality we have to customize this for our use the better and easier it is for us to use.  Being able to map your own remote is a long standing tradition with many other system and is a long overdue addition needed in Emby.

 

If you agree, don't forget to like this post.

  • Like 26
Link to comment
Share on other sites

Sammy

I've been requesting this for some time so it's a fantastic idea!

 

Sent from my SM-G960U1 using Tapatalk

  • Like 3
Link to comment
Share on other sites

I guess only you and I want this Sammy.

 

I certainly wouldn't blame the guys for not supporting something no one agrees is needed.

 

Oh well, maybe 2025 :)

Link to comment
Share on other sites

  • 3 weeks later...
nick114

i will like to see this to as all the over apps do it and so do all the big tv company out there like virgin and sky it is a must have 

Edited by nick114
  • Like 1
Link to comment
Share on other sites

BlueSnake

I'm also missing this functionality. I've been using Kodi with the Enigma2/Vu+ Addon for a while. Channel switching, epg, etc. handling via the remote of my Android TV is very nice. I want to have this in emby as well.

  • Like 1
Link to comment
Share on other sites

  • 3 weeks later...
  • 4 weeks later...

While not what this request is actually asking for (customized mapping of any key) the latest beta of the Android TV app does implement direct channel number entry.

  • Like 1
Link to comment
Share on other sites

Sammy

While not what this request is actually asking for (customized mapping of any key) the latest beta of the Android TV app does implement direct channel number entry.

Whoop!

 

Baby steps but steps forward nonetheless!

 

Sent from my SM-G960U1 using Tapatalk

Link to comment
Share on other sites

Sammy

@@ebr

 

Working okay with my Harmony Elite and Hub but what about my other Harmony 900's and FLIRC? Anything I need to do to make it work?

 

Sent from my SM-G960U1 using Tapatalk

Link to comment
Share on other sites

@@ebr

 

Working okay with my Harmony Elite and Hub but what about my other Harmony 900's and FLIRC? Anything I need to do to make it work?

 

Sent from my SM-G960U1 using Tapatalk

 

Please post any issues in the appropriate testing thread but this would be a configuration issue with those remotes - not the app.

 

Thanks.

  • Like 1
Link to comment
Share on other sites

Sammy

Please post any issues in the appropriate testing thread but this would be a configuration issue with those remotes - not the app.

 

Thanks.

I thought this would be the appropriate thread?

 

At any rate you did confirm my suspicions unless this relies on keyboard mapping and the fact that Elite remotes emulate Bluetooth Keyboards and the 900 series does not, actually controlling via IR and FLIRC on 2nd generation ShieldTV's but natively on 1st generation ShieldTV's.

 

That said, I need to check my Harmony programming as I may not have bothered with mapping the number keys since they didn't do anything at the time.

 

I'll do some more work on my part and report back.

 

Thanks @@ebr

 

Sent from my SM-G960U1 using Tapatalk

Link to comment
Share on other sites

IkeTaylor11

I would love to see this implemented as well. Being able to program a button to do channel recall would be amazing. Hate having to pull up the on screen menu every time i want to switch between channels. 

Link to comment
Share on other sites

I would love to see this implemented as well. Being able to program a button to do channel recall would be amazing. Hate having to pull up the on screen menu every time i want to switch between channels. 

 

Does your remote have the ability to generate the keycode_last_channel event to the device?

 

Creating the ability to custom map any key to any operation (or even a number of them) is really not practical given the complexity of that vs how much it would get used.  However, if we can define some existing keys on remotes and know what events they actually trigger in Android, then I can put those in the app.

Link to comment
Share on other sites

IkeTaylor11

Does your remote have the ability to generate the keycode_last_channel event to the device?

 

Creating the ability to custom map any key to any operation (or even a number of them) is really not practical given the complexity of that vs how much it would get used.  However, if we can define some existing keys on remotes and know what events they actually trigger in Android, then I can put those in the app.

the remote I use doesn't have a previous channel button, but it does have programmable buttons. I should be able to program a button from my tv remote which does have that button and see what it does if i press it on my shield tv. Anyone using a Harmony remote should be able to test this as well, its a standard button on the Harmony. 

 

 

 

Edit: just thought of this. I can run Emby on my Sony TV and use the button on the Sony remote to see what happens. It runs the same Android version as my Shield I believe. 

Edited by IkeTaylor11
Link to comment
Share on other sites

the remote I use doesn't have a previous channel button, but it does have programmable buttons. I should be able to program a button from my tv remote which does have that button and see what it does if i press it on my shield tv. Anyone using a Harmony remote should be able to test this as well, its a standard button on the Harmony. 

 

 

 

Edit: just thought of this. I can run Emby on my Sony TV and use the button on the Sony remote to see what happens. It runs the same Android version as my Shield I believe. 

 

I'm pretty sure that the button on any standard remote (and especially a TV remote) is going to capture that press and send it to your TV tuner - but please do try this to confirm.

 

You are probably going to have to program it to directly sent "LAST_CHANNEL" to the Shield.

Link to comment
Share on other sites

Also if you have a "Guide" button on your remote that is one to test during live TV playback.  The app has had the logic to show the on-screen guide on that button for a while now but I'm not sure any remote control guide button press actually gets passed down to the device.  On the remote I tested, the TV intercepted it and tried to send me to its guide.

Link to comment
Share on other sites

IkeTaylor11

I'm pretty sure that the button on any standard remote (and especially a TV remote) is going to capture that press and send it to your TV tuner - but please do try this to confirm.

 

You are probably going to have to program it to directly sent "LAST_CHANNEL" to the Shield.

Maybe I am not understanding this correctly. But, isn't last channel a standard button for android? According to the android key codes it should be whats listed below. So in order to make it work you would need to program a button to send code 229 right? 

 

Last Channel key

Goes to the last viewed channel

KEYCODE_LAST_CHANNEL = 229

 

The bigger problem would be how do I get a button to send that key code. lol

Link to comment
Share on other sites

IkeTaylor11

Also if you have a "Guide" button on your remote that is one to test during live TV playback.  The app has had the logic to show the on-screen guide on that button for a while now but I'm not sure any remote control guide button press actually gets passed down to the device.  On the remote I tested, the TV intercepted it and tried to send me to its guide.

this button works correctly for me on my remote. It opens the mini guide which shows 4 channels if I am watching a channel already. Love this feature BTW. 

Link to comment
Share on other sites

Maybe I am not understanding this correctly. But, isn't last channel a standard button for android? According to the android key codes it should be whats listed below. So in order to make it work you would need to program a button to send code 229 right? 

 

Last Channel key

Goes to the last viewed channel

KEYCODE_LAST_CHANNEL = 229

 

The bigger problem would be how do I get a button to send that key code. lol

 

Yes, Android does support it. As you said, the trick is getting the remote to send it to the Android device.

 

 

this button works correctly for me on my remote. It opens the mini guide which shows 4 channels if I am watching a channel already. Love this feature BTW. 

 

That is good news and gives me hope for the last channel button too.

  • Like 1
Link to comment
Share on other sites

Sammy

Maybe I am not understanding this correctly. But, isn't last channel a standard button for android? According to the android key codes it should be whats listed below. So in order to make it work you would need to program a button to send code 229 right? 

 

Last Channel key

Goes to the last viewed channel

KEYCODE_LAST_CHANNEL = 229

 

The bigger problem would be how do I get a button to send that key code. lol

 

Harmony Remotes have the Guide, Last, Info buttons..

 

this button works correctly for me on my remote. It opens the mini guide which shows 4 channels if I am watching a channel already. Love this feature BTW. 

 

What remote are you using and which AndroidTV Device is it controlling?

Link to comment
Share on other sites

IkeTaylor11

Harmony Remotes have the Guide, Last, Info buttons..

 

 

What remote are you using and which AndroidTV Device is it controlling?

Does the harmony allow for android keycode programming? I haven't bought one yet because of how expensive they are. But, if there is a way to program android keycodes to buttons then I might do it. 

 

The remote I am using now is this one(on Shield TV): https://www.aliexpress.com/item/2-4G-RF-Wireless-Tranmission-Air-Mous-With-Keyboad-Voice-Search-And-Voice-Calls-LED-Lighting/32796705881.html?spm=a2g0s.9042311.0.0.6b984c4d5K1PHG

 

It's been great so far, just doesn't have the previous channel button. 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...