quintodrome/model/metadata
Kendall Garner 7640c474cf
fix: Allow nullable ReplayGain and support 0.0 (#4239)
* fix(ui,scanner,subsonic): Allow nullable replaygain and support 0.0

Resolves #4236.

Makes the replaygain columns (track/album gain/peak) nullable.
Converts the type to a pointer, allowing for 0.0 (a valid value) to be returned from Subsonic.
Updates tests for this behavior.

* small refactor

Signed-off-by: Deluan <deluan@navidrome.org>

---------

Signed-off-by: Deluan <deluan@navidrome.org>
Co-authored-by: Deluan <deluan@navidrome.org>
2025-06-17 12:02:25 -04:00
..
legacy_ids.go fix: restore old date display/sort behaviour (#3862) 2025-03-30 17:06:58 -04:00
legacy_ids_test.go fix: restore old date display/sort behaviour (#3862) 2025-03-30 17:06:58 -04:00
map_mediafile.go fix: Allow nullable ReplayGain and support 0.0 (#4239) 2025-06-17 12:02:25 -04:00
map_mediafile_test.go fix: restore old date display/sort behaviour (#3862) 2025-03-30 17:06:58 -04:00
map_participants.go feat(server): custom ArtistJoiner config (#3873) 2025-03-23 10:53:21 -04:00
map_participants_test.go test: add PERFORMER tests (#4105) 2025-05-22 16:41:08 -04:00
metadata.go fix: Allow nullable ReplayGain and support 0.0 (#4239) 2025-06-17 12:02:25 -04:00
metadata_suite_test.go feat(bfr): Big Refactor: new scanner, lots of new fields and tags, improvements and DB schema changes (#2709) 2025-02-19 20:35:17 -05:00
metadata_test.go fix: Allow nullable ReplayGain and support 0.0 (#4239) 2025-06-17 12:02:25 -04:00
persistent_ids.go fix(scanner): normalize attribute strings and add edge case tests for PID calculation 2025-06-07 12:45:53 -04:00
persistent_ids_test.go fix(scanner): normalize attribute strings and add edge case tests for PID calculation 2025-06-07 12:45:53 -04:00