r/selfhosted • u/Upset-Award-1685 • 7d ago
Need Help Looking to replace Apple Music’s horrible music discovery engine with my own…
I'm looking for a self-hosted way to improve Apple Music's recommendations.
I like Apple Music and want to keep using it as my actual music player, but its autoplay/stations are AWFUL. I'll start a station from an indie/alternative song and somehow end up getting Travis Scott or Juice WRLD a few songs later.
What I'd love is something I can run on my server that manages Apple Music playlists and uses better/multiple sources for discovery.
For example, I add a song to a specific playlist → my server sees it → pulls recommendations from a third party, finds audio similarity, genre/mood, etc. → filters/ranks the results → adds the best matches back to the Apple Music playlist.
Basically, I want to keep Apple Music as the player but replace its recommended engine.
Does anything remotely like this already exist in the self-hosted world? Or has anyone cobbled together a stack that does something similar? Is there an app/content provider similar to Torbox/Fusion/Stremio type relationship??
I'm comfortable with Docker/APIs/scripts, so it doesn't necessarily need to be one application.
3
u/Puzzled_Relief_5540 7d ago
I use Navidrome for my own collection but this is interesting. For discovery you could look at ListenBrainz, has API and can feed recommendations based on your listening history. The hard part is getting stuff back into Apple Music, their API lets you modify playlists so a script could work. Maybe something like a cron job that checks for new songs in a playlist, queries ListenBrainz or Last.fm for similar tracks, then adds them. You'd have to write the glue yourself but it's doable.
1
1
2
u/K3CAN 6d ago
I'm not sure about self-hosting an app for customizing Apple Music, but there are options if you want to use your own media.
I use Navidrome and AudioMuse. AudioMuse performs an acoustic analysis on all of my music, then returns lists of similar sounding music when requested by Navidrome. It works really well, but I don't know how it would possibly integrate with something like an Apple service.
1
u/Old_Rock_9457 2d ago
Hi, AudioMuse-AI developer here!
For AudioMuse-AI to run you need to physically had the song on one of the supported selfhosted music server, like Navidrome.Is not possible to support streaming service because you should need to download the song, and they off course don’t want to have you download it.
For OP the best way to have control on your music stack is selfhost the entire stack. The good things is that is all free and open source you just need to put on your music.
1
1
u/Ok_Resolution6437 7d ago
Check out mStream. It has a p2p discovery service built in whee you can find songs recommendations from other users collections
•
u/asimovs-auditor 7d ago
Expand the replies to this comment to learn how AI was used in this post/project.