navidrome/server/subsonic
Deluan Quintão 2b84c574ba
fix: restore old date display/sort behaviour (#3862)
* fix(server): bring back legacy date mappings

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

* reuse the mapDates logic in the legacyReleaseDate function

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

* fix mappings

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

* show original and release dates in album grid

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

* fix tests based on new year mapping

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

* fix(subsonic): prefer returning original_year over (recording) year
when sorting albums

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

* fix case when we don't have originalYear

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

* show all dates in album's info, and remove the recording date from the album page

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

* better?

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

* add snapshot tests for Album Details

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

* fix(subsonic): sort order for getAlbumList?type=byYear

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

---------

Signed-off-by: Deluan <deluan@navidrome.org>
2025-03-30 17:06:58 -04:00
..
filter fix: restore old date display/sort behaviour (#3862) 2025-03-30 17:06:58 -04:00
responses chore(subsonic): update snapshot tests to use version 1.16.1 2025-03-27 22:50:22 -04:00
album_lists.go feat(subsonic): set sortName for OS AlbumList (#3776) 2025-03-05 22:52:15 -05:00
album_lists_test.go Make dependency injection more consistent 2024-05-08 22:21:38 -04:00
api.go feat(subsonic): getOpenSubsonicExtensions is now public 2024-10-21 17:21:18 -04:00
api_suite_test.go Rename log.LevelCritical to log.LevelFatal 2022-12-21 14:53:36 -05:00
api_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
bookmarks.go refactor: small improvements and clean up (#3423) 2024-10-22 22:54:31 -04:00
browsing.go chore: remove more outdated TODOs 2025-03-23 11:53:43 -04:00
helpers.go fix: restore old date display/sort behaviour (#3862) 2025-03-30 17:06:58 -04:00
helpers_test.go fix(subsonic): fix albumCount in artists (#3827) 2025-03-14 21:21:03 -04:00
jukebox.go refactor: small improvements and clean up (#3423) 2024-10-22 22:54:31 -04:00
library_scanning.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
media_annotation.go fix(server): reduce SQLite "database busy" errors (#3760) 2025-02-26 22:01:49 -05:00
media_annotation_test.go Uses Unix milliseconds support from standard Go lib 2024-05-11 19:50:30 -04:00
media_retrieval.go fix(subsonic): check errors before setting headers for getCoverArt 2025-02-25 08:22:38 -05:00
media_retrieval_test.go Fix image stuttering (#3035) 2024-05-24 20:19:26 -04:00
middlewares.go sec(subsonic): authentication bypass in Subsonic API with non-existent username 2025-02-20 20:14:19 -05:00
middlewares_test.go sec(subsonic): authentication bypass in Subsonic API with non-existent username 2025-02-20 20:14:19 -05:00
opensubsonic.go Add OS Lyrics extension (#2656) 2023-12-27 20:20:29 -05:00
opensubsonic_test.go feat(subsonic): getOpenSubsonicExtensions is now public 2024-10-21 17:21:18 -04:00
playlists.go fix(server): reduce SQLite "database busy" errors (#3760) 2025-02-26 22:01:49 -05:00
radio.go Replace all utils.Param* with req.Params 2023-12-21 17:41:09 -05:00
searching.go fix(subsonic): fix albumCount in artists (#3827) 2025-03-14 21:21:03 -04:00
sharing.go fix(subsonic): make Share's lastVisited optional 2025-01-09 16:10:53 -05:00
stream.go Add log.IsGreaterOrEqualTo, that take into consideration path-scoped log levels 2023-12-25 16:35:16 -05:00
system.go Some cleanup, adding missing context handling 2022-12-06 19:57:47 -05:00
users.go Limit access to Jukebox for admins only (configurable). 2024-05-07 19:35:43 -04:00