ISO a Music player that can be remotely controlled by HA

I was using the iTunes integration to control an old Mac that played to my JUKE amplifier. The ‘old’ Mac died.

iTunes is no longer supported by apple, and I remember when setting this up, I need to find a copy and then get it working, then load the GitHub project that needed another one…

What I have is a collection of music. It is in Apple’s Cloud (MUSIC) and I have a copy on a NAS, I have M3U playlists.

I have Linux machines, Apples, and could even scrape up a windows machine to host the player.

What I do not have is a RESTful API driven player that integrates into HA.

Thank You in advance.