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

Identifying ATV on network fails #29

Closed
benklinger opened this issue Aug 10, 2022 · 4 comments
Closed

Identifying ATV on network fails #29

benklinger opened this issue Aug 10, 2022 · 4 comments
Labels
bug Something isn't working

Comments

@benklinger
Copy link

Installed via Docker on MacOS.
Using pyatv, I found my ATV identifier:
04:4B:ED:99:FB:XX

I then used pyatv to find the airplay_credentials:
d6683fd0d2bdfca0926bfd5366b4f07191a9566fb8da04f3c03e90e76f544fc3:3a870e73c4621966cb3dadada32cc8d7e5c777f38efb9fe523118b79f699c413:36323839413335382d343336312d343945392d414442332d454241333046303144424239:39386336373835632d666330332d343463352d386561362d3337626639306637656162XX

I've updated the config.json file with these two inputs, but after restarting the docker, this is the logs I see:

Discovering devices on network...
No device found, will retry
Reconnecting to Apple TV
Discovering devices on network...
@benklinger benklinger added the bug Something isn't working label Aug 10, 2022
@dmunozv04
Copy link
Owner

dmunozv04 commented Aug 10, 2022

That is caused due to docker in macOS not having --net=host mode, which is needed for pyatv to work in docker.

From docker's documentation:

The host networking driver only works on Linux hosts, and is not supported on Docker for Mac, Docker for Windows, or Docker EE for Windows Server.

The solution is using the iSponsorblockTV macOS service. It runs as a regular macOS app

@benklinger
Copy link
Author

benklinger commented Aug 10, 2022

This line on the wiki needs to updated:
wget https://github.com/dmunozv04/iSponsorBlockTV/releases/latest/download/iSponsorBlockTV

to: wget https://github.com/dmunozv04/iSponsorBlockTV/releases/download/v0.1/iSponsorBlockTV-macos

@dmunozv04
Copy link
Owner

Thank you, I'll update it later

@dmunozv04
Copy link
Owner

fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants