-
-
Notifications
You must be signed in to change notification settings - Fork 116
Open
Labels
Description
Describe the bug
url playback isn't working for me on an Apple TV 4K with tvOS 26. I tried this command:
uvx --from pyatv atvremote --id=... play_url=http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4
Error log
Traceback (most recent call last):
File "/Users/max/.cache/uv/archive-v0/dRMVwalVffNnOK2vQjMr-/lib/python3.10/site-packages/pyatv/scripts/atvremote.py", line 998, in _run_application
return await cli_handler(loop)
File "/Users/max/.cache/uv/archive-v0/dRMVwalVffNnOK2vQjMr-/lib/python3.10/site-packages/pyatv/scripts/atvremote.py", line 727, in cli_handler
return await _handle_commands(args, config, storage, loop)
File "/Users/max/.cache/uv/archive-v0/dRMVwalVffNnOK2vQjMr-/lib/python3.10/site-packages/pyatv/scripts/atvremote.py", line 877, in _handle_commands
ret = await _handle_device_command(args, cmd, atv, storage, loop)
File "/Users/max/.cache/uv/archive-v0/dRMVwalVffNnOK2vQjMr-/lib/python3.10/site-packages/pyatv/scripts/atvremote.py", line 933, in _handle_device_command
return await _exec_command(atv.stream, cmd, True, *cmd_args)
File "/Users/max/.cache/uv/archive-v0/dRMVwalVffNnOK2vQjMr-/lib/python3.10/site-packages/pyatv/scripts/atvremote.py", line 965, in _exec_command
value = await tmp(*args)
File "/Users/max/.cache/uv/archive-v0/dRMVwalVffNnOK2vQjMr-/lib/python3.10/site-packages/pyatv/core/facade.py", line 359, in play_url
await self.relay("play_url")(url, **kwargs)
File "/Users/max/.cache/uv/archive-v0/dRMVwalVffNnOK2vQjMr-/lib/python3.10/site-packages/pyatv/protocols/airplay/__init__.py", line 137, in play_url
return await self._play_task
File "/Users/max/.cache/uv/archive-v0/dRMVwalVffNnOK2vQjMr-/lib/python3.10/site-packages/pyatv/protocols/airplay/player.py", line 68, in play_url
await self._wait_for_media_to_end()
File "/Users/max/.cache/uv/archive-v0/dRMVwalVffNnOK2vQjMr-/lib/python3.10/site-packages/pyatv/protocols/airplay/player.py", line 84, in _wait_for_media_to_end
resp = await self.rtsp.connection.get("/playback-info")
File "/Users/max/.cache/uv/archive-v0/dRMVwalVffNnOK2vQjMr-/lib/python3.10/site-packages/pyatv/support/http.py", line 423, in get
return await self.send_and_receive("GET", path, allow_error=allow_error)
File "/Users/max/.cache/uv/archive-v0/dRMVwalVffNnOK2vQjMr-/lib/python3.10/site-packages/pyatv/support/http.py", line 496, in send_and_receive
raise exceptions.HttpError(
pyatv.exceptions.HttpError: HTTP/1.1 method GET failed with code 500: Internal Server Error
>>> An error occurred, full stack trace above
How to reproduce the bug?
copy & paste the command, add your id
What is expected behavior?
video playback!
Operating System
macOS
Python
3.9
pyatv
0.16.1
Device
Apple TV 4K tvOS 26
Additional context
baymonin