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

Support for tvOS? #89

Closed
bbrendon opened this issue Jun 15, 2017 · 5 comments
Closed

Support for tvOS? #89

bbrendon opened this issue Jun 15, 2017 · 5 comments
Labels
feature mrp Media Remote Protocol
Milestone

Comments

@bbrendon
Copy link

Anyone using this with tvos? I can't get it to pair or do anything. Pairing shows the remote in the ATV interface but when I try to pair it just says incorrect password. I rebooted it. Same thing.

# atvremote --address x.x.x.x --login_id 00000000-1043-09d4-1407-fe8d613a4bf3 pause
... This yields a blank line result.

Command of up yields CRITICAL: Command 'up' is not supported by device

I made sure home sharing is enabled as well.

The only thing that did work for me was # atvremote scan

Also the docs say something about an option --hsgid but that doesn't seem to exist.

@postlund
Copy link
Owner

It should work decent with tvOS, but I know that some apps don't not behave so good (plex being one of them, but maybe it works better now?).

The navigational and playback related functions will not produce any output. So pause, play, menu, top_menu, etc. will just print a new line if it works as expected. Did you play anything when trying to pause? What was the outcome?

In the currently released version that you get with pip, arrow keys are not supported. My plan is to release 0.3.0 very soon that includes them and the page you see here on GitHub reflects the previous version. Pairing should work fine, it has been verified to work. But there is an issue where the pairing is done on the wrong interface on the computer you pair from, it is fixed in b6b4f3e. So it will also be part of next release as well. If you can, please have a go with the version from master, it should work better for you. It should be as easy as following the instructions under Development on the front page.

Oh, --hsgid is deprecated and replaced by --login_id to support both HSGID and the ID you get when pairing. Which page did you look at?

@bbrendon
Copy link
Author

I used pip3 install pyatv which appears to be pyatv-0.2.2. I'll wait and try again in the future. I setup the IR blaster and its working. I also tried the ATV integration with Home Assistant and the information wasn't useful to me so the IR seems good for now.

@postlund
Copy link
Owner

@bbrendon I have released pyatv 0.3.0 now with a lot of changes. You can install it with pip as usual and the documentation is on readthedocs (you can click the badge on front page). Please give it a spin and let me know if it works better for you!

@postlund
Copy link
Owner

@bbrendon I opened a pull request with support for buttons yesterday, so hopefully it will make it in with the next release of Home Assistant. You can track it here: home-assistant/core#8122

@postlund postlund added this to the v0.4.0 milestone Sep 25, 2017
@postlund postlund added the mrp Media Remote Protocol label Oct 3, 2019
@postlund
Copy link
Owner

postlund commented Oct 3, 2019

Consider this a duplicate of #94.

@postlund postlund closed this as completed Oct 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature mrp Media Remote Protocol
Projects
None yet
Development

No branches or pull requests

2 participants