library: sort and search by server sort names

Parse the OpenSubsonic sortName attributes, store sort keys on artists,
albums and songs, and sort on them instead of the display names. Resolve
album and track artist sort names from the artists table, and include the
keys in the FTS content so romaji sort names are searchable as well.

Schema 31 rebuilds the sort indexes and search tables, and backfills
existing rows from their display names.
This commit is contained in:
austinried
2026-10-18 05:16:41 +00:00
parent 891406eab9
commit 7d8a2dae9f
15 changed files with 2385 additions and 97 deletions
File diff suppressed because it is too large Load Diff