Your music folder
Songstress imports the music in your folder by itself, names what its tags don't, and keeps every original.
Songstress plays the folder your server mounts as its music folder: MUSIC_DIR in your .env, which is /music
inside the container. There is no import button. Songstress brings in what is in the folder by itself.
Put your music in the folder
- Add music before the first start, or any time after. Any folder layout works: songs are read by their tags, not their file names.
- The server's user must be able to read and write the folder. That user is
PUIDandPGIDin your.env, 1000 and 1000 unless you change them. If Songstress can't read the folder, the setup and Manage ▸ Library say so, and how to fix it: setPUIDandPGIDto the owner of your music, or give that user access, then restart Songstress. - An empty folder is fine. Songstress says so, and you can start with nothing and add songs from search.
How the import works
- At the first start, Songstress counts the folder, then reads every song's tags and quality. The setup's Your music folder step shows it as it goes, like "Importing 12,480 songs from your music folder. 9,210 are already lossless.", then what it found. You can carry on with the setup meanwhile.
- When you add songs, the next scan brings them in. To scan now, select Look again on Your music folder in Manage ▸ Library.
- Each import shows in Activity while it runs, and in the Timeline after.
- Manage ▸ Library shows the last import, the earlier ones, and the room the kept originals take.
Songs with few details
A song's own tags come first: title, artists, album, track, year, artwork and the rest.
- When the tags say too little, like no artist or a title that is only the file's name, Songstress asks its metadata providers what the song is: MusicBrainz, and any your extensions add. It goes by the folder and file names, the song's length and whatever tags there are.
- It names a song only when the answers agree. When they don't, the song keeps what its file says and is listed under Songs that couldn't be identified in Manage ▸ Library. Nothing is guessed silently.
- To name one, open it there. Pick one of the possible matches, with each one's length beside the file's, or type the title, artist and album yourself.
What Songstress finds, or you type, stays through every rescan. Your files are never changed.
Upgrades
Songs at your quality target, lossless or hi-res, stay as they are. Songs below it are upgraded through the sources in Acquisition, like any song in your library.
- Upgrades start by themselves. If no source is set up yet, the import says the songs wait for one.
- To leave the songs from your music folder as they are, turn off Upgrade songs from your music folder in
Manage ▸ Acquisition ▸ Settings. To start that way, set
UPGRADE_IMPORTED=falsein your.envbefore the first start. - An upgrade never changes a song while someone is playing it. It waits.
Your originals are kept
When an upgrade replaces a song from your music folder, the file you had is kept for good, whatever Keep replaced
files says: that setting is for files Songstress downloaded. The originals are in the hidden
.songstress-upgrades folder inside your music folder, exactly as they were.
Restore an original
- One song: choose Restore original in the song's menu or its info. Songstress asks first, then puts your file back where it was. The upgraded file is kept too, and the song isn't upgraded again.
- A whole import: select Restore originals beside the import in Manage ▸ Library. It runs in the background, and Activity shows how far it got.
A restore never interrupts a song someone is playing: that song waits until it ends. Restoring works on the web, the desktop app and the phones.