sonda/migrations/postgres
Repository files (latest commit first)
Filename Latest commit message Latest commit date
tgiachi a92326c1b4 feat(player): play every song at a similar volume with ReplayGain
I want songs from different albums to play at about the same loudness without touching the volume.

- The scan reads REPLAYGAIN_TRACK_GAIN, REPLAYGAIN_ALBUM_GAIN and the two peaks from each file, offline, and keeps them on the file (migration 0029, SQLite and PostgreSQL). A tag that makes no sense (not a number, more than 60 dB) is left out. Files indexed before have none until a full rescan.
- A track in the API carries them as replay_gain (null when its first playable file says nothing).
- The web player levels each song with them: the sound passes through a gain node, so a quiet song can be raised too, but never so much that its peak would clip (and never more than 12 dB when there is no peak). Without Web Audio the element is turned down instead.
- A new Playback section in Settings chooses song by song (default), album by album or off; the choice stays on the device.
- README: the ReplayGain entry, and the old line that said the year was not in the index is removed.
- English and Italian.
2026-11-14 16:02:23 +01:00
..
0001_init.sql feat: add sondad server with config, storage, auth and listening API 2026-11-11 12:06:15 +01:00
0002_users_listening.sql feat: add sondad server with config, storage, auth and listening API 2026-11-11 12:06:15 +01:00
0003_name_keys.sql fix(library): harden the scanner against special files, stat errors and lossy logging 2026-11-11 12:28:44 +01:00
0004_admin_refresh.sql feat(auth): add refresh tokens, admin role and user management 2026-11-11 12:38:42 +01:00
0005_libraries.sql fix(library): make the libraries upgrade and validation robust 2026-11-11 13:34:44 +01:00
0006_track_title_key.sql feat(catalog): add the read API for artists, albums and tracks 2026-11-11 13:43:38 +01:00
0007_provider_settings.sql feat(providers): provider settings in a table and a careful outbound HTTP client 2026-11-11 16:07:12 +01:00
0008_artist_similar.sql fix(discovery): concurrent writes, adopted artists and a client that leaves 2026-11-11 16:47:33 +01:00
0009_artist_tags.sql feat(discovery): artist tags from Last.fm and MusicBrainz, and ids from my files 2026-11-11 17:01:43 +01:00
0010_track_genres.sql feat(discovery): remove provider data, genres from my files, full rescans 2026-11-11 17:27:29 +01:00
0011_user_settings.sql feat(settings): my own settings, starting with Discover from my listening 2026-11-11 19:16:26 +01:00
0012_artist_feedback.sql feat(feedback): a wishlist and "not interested" 2026-11-11 20:11:18 +01:00
0013_images.sql fix(images): limit parallel builds, no stale saves, safer files 2026-11-11 21:03:26 +01:00
0014_artist_descriptions.sql feat(about): artist descriptions from Wikipedia 2026-11-11 21:36:27 +01:00
0015_image_credit.sql feat(images): free photos of artists from Wikimedia Commons 2026-11-11 22:03:32 +01:00
0016_search_keys.sql feat(search): search ignores accents 2026-11-12 10:17:21 +01:00
0017_lidarr_settings.sql feat(lidarr): set up Lidarr as a provider and read what it offers 2026-11-12 11:04:53 +01:00
0018_users_email.sql feat(auth): accounts are identified by an email address 2026-11-12 14:40:33 +01:00
0019_playlists.sql feat(playlists): a user keeps playlists of tracks 2026-11-12 16:55:25 +01:00
0020_smart_playlists.sql feat(smart): smart playlists, playlists made of rules 2026-11-13 09:36:52 +01:00
0021_generated_names.sql feat(naming): names for playlists, with the Claude API as an option 2026-11-13 10:33:48 +01:00
0022_claude_usage.sql feat(naming): an admin section that shows what Claude costs 2026-11-13 11:14:45 +01:00
0023_federation.sql feat(federation): keys, invites and pairing between Sonda servers 2026-11-13 14:43:48 +01:00
0024_federation_sharing.sql feat(federation): shared libraries and the signed read API for friends 2026-11-13 15:04:07 +01:00
0025_track_peaks.sql feat: the seek bar shows the waveform of the track 2026-11-13 17:35:00 +01:00
0026_mastodon.sql feat: post what I listen to on Mastodon, if I connect an account 2026-11-13 21:59:03 +01:00
0027_mastodon_problem.sql feat(mastodon): say in Settings when the instance no longer accepts the token 2026-11-14 10:04:07 +01:00
0028_track_year.sql feat(smart): smart playlists by the year a song came out 2026-11-14 10:19:39 +01:00
0029_replaygain.sql feat(player): play every song at a similar volume with ReplayGain 2026-11-14 16:02:23 +01:00