postlund / pyatv

A client library for Apple TV and AirPlay devices
https://pyatv.dev
MIT License
891 stars 100 forks source link

Add macOS as operating system #2104

Closed postlund closed 1 year ago

postlund commented 1 year ago

What feature would you like?

Since macOS can act as AirPlay receiver, it makes sense to add that as operating system as well.

Describe the solution you'd like

I don't think there are any better way to detect this than looking at model (e.g. MacBookAir10,1 maps to macOS). Just need to figure out all valid models. So far I know about these:

Not sure if all of them supports macOS 12 or later (where AirPlay receiver is built in), but there's no harm adding all of them since they all map to macOS.

Sources: https://www.theiphonewiki.com/wiki/Models#Mac https://mrmacintosh.com/list-of-mac-boardid-deviceid-model-identifiers-machine-models/

Any other information to share?

No

postlund commented 1 year ago

Fixed by #2113