python-androidtv
python-androidtv copied to clipboard
Select source wont work on firetv
{
"entity_id": "media_player.firetv",
"source": "com.netflix.ninja"
}
and
{
"entity_id": "media_player.firetv",
"source": "com.netflix.ninja"
}
isnt working
This is linked in the README: https://gist.github.com/mcfrojd/9e6875e1db5c089b1e3ddeb7dba0f304
Is it possible to change the source to HDMI with androidtv.adb_command?
Is it possible to change the source to HDMI with androidtv.adb_command?
Try input keyevent 243
.
https://github.com/JeffLIrion/python-androidtv/blob/f946a2dceb081ecfda864334b694fcb3bac27bf3/androidtv/constants.py#L107
Is it possible to change the source to HDMI with androidtv.adb_command?
Try
input keyevent 243
.https://github.com/JeffLIrion/python-androidtv/blob/f946a2dceb081ecfda864334b694fcb3bac27bf3/androidtv/constants.py#L107
With the same command? (androidtv.adb_command)
Yes
Okay thanks for the quick reply. Will try it!
Is it possible to change the source to HDMI with androidtv.adb_command?
Try
input keyevent 243
.https://github.com/JeffLIrion/python-androidtv/blob/f946a2dceb081ecfda864334b694fcb3bac27bf3/androidtv/constants.py#L107
This didn't work unfortunately. The other keys like enter, right, left etc are working. Is there anything I have to set up on the Fire TV to make it work?
This didn't work unfortunately. The other keys like enter, right, left etc are working. Is there anything I have to set up on the Fire TV to make it work?
I don't know. It probably depends on the model of your TV, if it's even possible at all. You'll need to dig around on the Android developers website if you want to try to make it work.
https://developer.android.com/reference/android/view/KeyEvent
Okay thanks. Will have a look at it!