Rebuilding a 24k-track music library with Claude
Why?
Things were running smoothly for the most part. I had roughly 24,000 songs, many of which were from years ago, back before I knew anything about music quality. These were tracks that made it through my ipods, etc.
Now I have a few dedicated DAPs (iBasso DX260mk2 and Fiio JM21) that I want to hold quality music to listen to either at home or on the go.
Nothing was really broken about how things were working, but I thought something like Claude could really help me expedite fixing the library from missing a track or two to poor quality downloads from yester-year.
The thing is I wanted it to continually fix itself, especially with new music downloads. That's how I came across SoulSync.
What is SoulSync?
Soulsync is a self-hosted music, movies, etc app. For music, I use it to:
- Find what music I want, either from playlists, or artists I follow, or missing music in my library.
- Find new music from similar artists already in my library
- Downloads from several connected sources
- Checks if the file is really the song that's supposed to be downloaded
- Tags and files songs to be played properly from the music player of choice.
For me this platform was perfect. It did everything I wanted, even down to discovering new music. Since I still have an Apple Music subscription, I really wanted to continue experiencing new music, but this platform helps with that. I really haven't used my Apple Music subscription since I started with soulsync.
My setup at a glance
This all runs on Proxmox at home. The only public services are Usenet for some downloading of entire albums.
| Piece | What it does |
|---|---|
| SoulSync | The brain. Decides what to get, from where, and whether it's good enough. |
| slskd | A web-based client for Soulseek, a long-running peer-to-peer music sharing network. SoulSync talks to it through its API. |
| Prowlarr + usenet | Prowlarr searches usenet indexers; a usenet download client does the downloading. |
| Plex and Navidrome | Where I actually listen. |
My endpoint devices are two Digital Audio Players (DAPs). These are like fancy iPods that run Android OS. I use Poweramp as the app since they introduced Bit-Perfect playback in the latest beta builds.
I have a Virtual Machine for all of my *arr stack, that uses a /mnt called "bulkstore" on it. I decided on a shared storage idea so that I can reference and mange from multiple sources from a centralized location. Plex lives on a physical 1U server that also mounts the bulkstore from the *arr VM. Navidrome runs as a virtual machine and links to bulkstore as well. The *arr stack does movies and TV downloads too, but I don't want to over-complicate this blog; so we're sticking with music.
I've found that Navidrome has a lot more integrations on the endpoint side of the house than Plex, so I've been making sure to keep Navidrome updated more frequently. Navidrome counts as a subsonic server, which I publicly expose via Pangolin as a public site. This allows me to stream externally to my network on my phone or computer.
With MacOS, I sync my Navidrome server with NaviBeat. On my phone I use Symfonium, and on the DAPs (where music is downloaded, not streamed) I use Poweramp.
My DAPs also use Foldersync to sync my bulkstore music share through SSH while on the network. I haven't changed my library enough where I've needed it to sync externally. And even when I attempted using the Pangolin client, it was slow to sync over WAN.
What Makes SoulSync "Set and Forget"
Quality profiles: only ever upgrade
A quality profile is ranked formats, bit depths, sample rates and bitrates, plus a cutoff. Soulsync starts with three presets; Audiophile, Balance and Space Saver. You can download whatever quality you want.
The cutoff makes it cool. When you "upgrade until cutoff", Soulsync keeps looking for a better copy of a track until it reaches the quality you want.
Finding what's missing
This was the other part of the goal. There were several ways to spot gaps:
- Artist pages show the full discography showing what's already owned, and completion status for albums, EPs and singles.
- Gap-fill pulls in releases the metadata sources know about that you don't have currently.
- Album completeness - scheduled maintenance job
- Playlist sync health shows how much of each playlist is actually owned.
Anything that isn't found immediately is put in a Wishlist, and is tried automatically at intervals.
Watch list
Another cool feature that I use. Every artist I care about keeping track of new music, I put into my watch list. Every new song is downloaded when available and makes it into my library.
Every song that is downloaded is checked with AcoustID, which is an auto fingerprinting service. Anything that fails gets thrown into a quarantine folder instead of the library.
How Claude is Helping (or Not)
I used claude basically as a second pair of eyes:
- Tuning soulsync settings, like changing the quality profile or knowing which songs to track down
- Checking that music was being sourced correctly
- Spot check downloads, re-running AcoustID and confirming or denying quarantine files
Claude hasn't been perfect though. It's made mistakes like deleting out music, etc. I've made sure to set guardrails at the start of the project to never to delete music. Anything that is replaced goes into a folder on my mac mini, just in case. Even with those guardrails, I've noticed some accidents where the AI gets confused or has to be reminded of these rules.