pyatv icon indicating copy to clipboard operation
pyatv copied to clipboard

Has anyone else found pyatv has stopped working with tvOS 15.4.1?

Open oviano opened this issue 2 years ago • 9 comments

What do you need help with?

I noticed the ATV had updated recently to 15.4.1 (apparently this was a week or two ago) and now atvremote can no longer find it with scan, or control it.

I rebooted the ATV, rebooted the PC I was trying from and verified the ATV is reachable across the LAN with ping, even rebooted the router too for good measure, but scan returns no results.

oviano avatar Apr 10 '22 06:04 oviano

I am also having this issue.

chrisjshull avatar Apr 12 '22 08:04 chrisjshull

Confusingly, today mine has started working again. :/

oviano avatar Apr 12 '22 11:04 oviano

And gone again today...

C:\Users\Oliver>atvremote scan --debug
2022-04-13 14:52:49 DEBUG [pyatv.scripts]: Running with pyatv 0.10.0
2022-04-13 14:52:49 DEBUG [pyatv.support.net]: Binding on *:5353
2022-04-13 14:52:49 DEBUG [pyatv.core.mdns]: Failed to add listener for 169.254.121.195 (ignoring)
2022-04-13 14:52:49 DEBUG [pyatv.support.net]: Binding on 192.168.3.20:0
2022-04-13 14:52:49 DEBUG [pyatv.core.mdns]: Failed to add listener for 169.254.19.33 (ignoring)
2022-04-13 14:52:49 DEBUG [pyatv.core.mdns]: Failed to add listener for 169.254.181.141 (ignoring)
2022-04-13 14:52:49 DEBUG [pyatv.core.mdns]: Failed to add listener for 169.254.117.216 (ignoring)
2022-04-13 14:52:49 DEBUG [pyatv.core.mdns]: Failed to add listener for 169.254.138.110 (ignoring)
2022-04-13 14:52:49 DEBUG [pyatv.support.net]: Binding on 127.0.0.1:0
Scan Results
========================================

oviano avatar Apr 13 '22 11:04 oviano

I have made some improvements to scanning on windows in #1773 that hopefully make things better. Please try with 0.10.1 when it's released later today.

postlund avatar Jun 28 '22 07:06 postlund

Great! I will upgrade and post back if I get any further issues.

oviano avatar Jun 28 '22 19:06 oviano

I have noticed apple tv's not properly broadcasting their existence anymore after an update or terms change. Usually after clicking the "ok" or "continue" or whatever notice there is on the screen, the apple tv's comes back online and is controllable again. Could this have been your issue?

SightAndSound-Roger avatar Jul 21 '22 06:07 SightAndSound-Roger

That’s a possibility, good call.

oviano avatar Jul 21 '22 07:07 oviano

Sounds very reasonable indeed!

postlund avatar Jul 21 '22 07:07 postlund

My atv constantly runs into this. It seems to be related to whether it has a screen attached, or is playing a movie (I get errors when the atv is not in use)

chrisjshull avatar Aug 07 '22 06:08 chrisjshull

Not much more to do here, closing.

postlund avatar Jul 11 '23 05:07 postlund