navidrome/server/jellyfin/dto
Deluan c4126fa674 fix(jellyfin): emit SortName for artists and albums, honoring PreferSortTags
Finamp's A-Z fast scroll re-derives each item's sort key client-side from
SortName, paging until it reaches the tapped letter. We only emitted SortName
for songs, so Finamp fell back to reconstructing a key from the display name,
which diverges from the order_* key the list is actually sorted by (curly
quotes, non-English articles). The scan then believed it had passed the
letter and scrolled back to the top instead of loading further pages.

Emit SortName for artists and albums using the same key the persistence
layer sorts by, via a sortName helper that mirrors Subsonic's PreferSortTags
handling: order_* names by default, sort tags when the config is enabled.
The song mapper now honors the config too, instead of always preferring the
sort tag. Also parse Fields in the /Artists* handlers, which ignored the
parameter entirely, so no field-gated data could ever be returned there.
2026-08-11 09:19:16 -04:00
..
dto.go feat(artwork): new artwork pipeline with background resolution and Low Quality Image Placeholders (#5847) 2026-08-09 15:03:27 -04:00
dto_suite_test.go feat(jellyfin): experimental Jellyfin Music API support (#5730) 2026-07-14 11:46:37 -04:00
fields.go fix(jellyfin): honor repeated Fields query params (#5811) 2026-07-18 18:59:08 -04:00
fields_test.go fix(jellyfin): honor repeated Fields query params (#5811) 2026-07-18 18:59:08 -04:00
filters_test.go feat(jellyfin): filter items by year and record label (#5817) 2026-07-19 12:39:31 -04:00
ids.go refactor(db): migrate all ids to a uniform canonical 128-bit base62 encoding (#5824) 2026-08-02 12:58:53 -04:00
ids_test.go refactor(db): migrate all ids to a uniform canonical 128-bit base62 encoding (#5824) 2026-08-02 12:58:53 -04:00
mappers.go fix(jellyfin): emit SortName for artists and albums, honoring PreferSortTags 2026-08-11 09:19:16 -04:00
mappers_test.go fix(jellyfin): emit SortName for artists and albums, honoring PreferSortTags 2026-08-11 09:19:16 -04:00