this post was submitted on 07 Feb 2024
20 points (85.7% liked)
Linux
48328 readers
652 users here now
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
My main experience casting to Apple TVs from Linux is with Home Assistant, which has a few different addons related to Apple TV. Unfortunately most are related to receiving casts or casting music, and it doesn’t look like any support screen mirroring. The main library - https://pyatv.dev - has only limited support for AirPlay, and its documentation indicates it lacks screen mirroring support. If you just want to stream a video, though, then it would be worth looking into.
open-airplay with the auth solution by @funtax (on Github) is the approach I would try, but unfortunately I can’t comment as to whether or not that actually still works.
I can't find any "funtax" user in the linked openairplay repo, but it appears that I have completely missed pyatv's ability to stream video. As long as it can stream video I think I can make it do screen mirroring too. Thank you very much, I will be looking into pyatv now!
I don’t think they contributed to openairplay, but they mentioned in an open issue in the openairplay repo that they had created a separate repo to handle the auth piece. Strangely I can’t find the issue now, but this is the repo I was talking about for that: https://github.com/openairplay/AirPlayAuth
That all said, it pyatv will work for you it looks like a much better bet, anyway. Good luck!