home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
72.49k stars 30.33k forks source link

Add other buttons to media player #1386

Closed Bart274 closed 8 years ago

Bart274 commented 8 years ago

Hi, I was wondering if we could add other buttons to a media player, now that we have a universal media player etc. It would be great if we can use these buttons as well on the media player card. I want to use it to control my Fire TV and my Android TV Box completely from within HA. The suggested extra buttons are: UP, DOWN, LEFT, RIGHT, ENTER, BACK, MENU Both the frontend and the media player entity would need to be changed for this

GreenTurtwig commented 8 years ago

Could be useful to be able to customize them, for example someone might want just "record" and "tv guide" buttons. :-)

Bart274 commented 8 years ago

Some sort of remote component would be nice. Then we can develop skins for the card based on the real remote?

Op 24 feb. 2016 om 13:07 heeft Rowan notifications@github.com het volgende geschreven:

Could be useful to be able to customize them, for example someone might want just "record" and "tv guide" buttons. :-)

— Reply to this email directly or view it on GitHub.

Bart274 commented 8 years ago

if we would have a remote component, we would be able to configure remotes for a lot of stuff instead of just media players (like ac, lights, tv,...)

Bart274 commented 8 years ago

I made a first try of this remote component, the code is located here: https://github.com/Bart274/remote/ I didn't create a branch in my home assistant repo because I don't have access to my notebook right now so I can't test my code for the Travis CI build. For the fire tv remote, we would also have to wait until @happyleavesaoc merges my PR in his repo: https://github.com/happyleavesaoc/python-firetv/pull/2

balloob commented 8 years ago

Closing this issue as feature requests should be posted in the forum.