Linux might be the better choice after all.
Replace Spotify with a simple self-hosted music stack and upgrade it into a powerful, private streaming setup on your own terms.