Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Select source wont work on firetv #40

Open
marrobHD opened this issue May 19, 2019 · 9 comments
Open

Select source wont work on firetv #40

marrobHD opened this issue May 19, 2019 · 9 comments

Comments

@marrobHD
Copy link

{
  "entity_id": "media_player.firetv",
  "source": "com.netflix.ninja"
}

and

{
  "entity_id": "media_player.firetv",
  "source": "com.netflix.ninja"
}

isnt working

@JeffLIrion
Copy link
Owner

This is linked in the README: https://gist.github.com/mcfrojd/9e6875e1db5c089b1e3ddeb7dba0f304

@ramondunker
Copy link

Is it possible to change the source to HDMI with androidtv.adb_command?

@JeffLIrion
Copy link
Owner

Is it possible to change the source to HDMI with androidtv.adb_command?

Try input keyevent 243.

KEY_HDMI1 = 243

@ramondunker
Copy link

Is it possible to change the source to HDMI with androidtv.adb_command?

Try input keyevent 243.

KEY_HDMI1 = 243

With the same command? (androidtv.adb_command)

@JeffLIrion
Copy link
Owner

Yes

@ramondunker
Copy link

Okay thanks for the quick reply. Will try it!

@ramondunker
Copy link

Is it possible to change the source to HDMI with androidtv.adb_command?

Try input keyevent 243.

KEY_HDMI1 = 243

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?

@JeffLIrion
Copy link
Owner

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

@ramondunker
Copy link

Okay thanks. Will have a look at it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants