Build the library discipline that makes a self-hosted music collection actually usable — the part people skip and then abandon. Run Navidrome over your music folder. It speaks the Subsonic API, which means dozens of existing clients on phones, desktops and cars work with it immediately, and that is the reason to choose it over writing anything. The project is the ingest pipeline in front of it. Use beets as the engine and configure it deliberately. Match every album against MusicBrainz on import, and require a confirmation for anything below a match threshold you set. An automatically-mis-tagged album is worse than an untagged one, because you will never find it again and you will not know it is wrong. Compute AcoustID fingerprints so files with no usable tags at all can still be identified from their audio. Fetch and embed cover art at import, and normalise it to a consistent size — mixed 300-pixel and 3000-pixel art makes every client look broken. Compute ReplayGain values per track and per album on import. Without it, a shuffle across a collection assembled over twenty years is a volume knob exercise, and this is the single most noticeable difference between a home library and a streaming service. Enforce one path scheme and never let a file into the library outside it. Write a health report: files with no MusicBrainz id, albums with missing tracks, duplicate recordings across formats, and files whose tags disagree with their path. Run it monthly. Do not attempt to fill gaps in your collection from anywhere but a shop. The catalogue is the thing you are not replacing, and pretending otherwise turns a good project into a bad one.