Open rimonhanna opened 2 years ago
pyatv only supports audio files and that's not gonna change any time soon I'm afraid. Some kind of work-around would be to extract the audio stream with ffmpeg and use that as a source.
Once I restore support for play_url
, this could potentially work assuming a third party library is used to extract the underlying video URL. Might be worth looking in to.
Describe the bug
I tried playing youtube videos by giving the addon the video or playlist url as contentId and content type music (I tried all content types actually) but that didn’t work and i got the first error mentioned below, i also tried setting the apple TV as a destination speaker from the youtube addon and i also got the second error
Error log
How to reproduce the bug?
Go to developer tools select media player: play media set the device to an apple tv set content id to a youtube video or playlist url set content type to music or anything really
What is expected behavior?
video or playlist plays on ATV
Operating System
tvOS 15.4.1
Python
3.9
pyatv
3.0.1
Device
Apple TV 4k 2021
Additional context
.