* musikr: fix outdated musicbrainz id test
Since b85dc561d, songs without artist names take all artist fields
(including MBIDs) from composer tags. The test only set artist MBIDs,
so they were replaced. Give it an artist name.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* actions: use pinned submodule commits
--remote made CI build the latest commit of each submodule's branch
instead of the commits pinned in the repository, so a push to the media
fork could break every build regardless of what was being tested.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Replace per-song Room inserts with chunked bulk inserts (500 songs per
transaction). Reduces ~3000 individual fsync calls to ~6 on a full
cold scan, cutting write time from seconds to milliseconds on typical
eMMC/UFS storage. Adds writeAll() to MutableCache with a default
fallback for external implementors, and unit tests for the chunking
behaviour.
Remove nonZeroOrNull() from parseR128Adjustment() to allow raw R128
values of 0 to be properly converted to +5.0 dB adjustment. A value
of 0 in R128_TRACK_GAIN or R128_ALBUM_GAIN means the file is already
at -23 LUFS and should result in a +5 dB adjustment after conversion.
Added tests for R128_TRACK_GAIN and R128_ALBUM_GAIN with zero values.
Co-authored-by: OxygenCobalt <65370175+OxygenCobalt@users.noreply.github.com>
Change IntelligentKnownName tokenizer to replace punctuation with spaces
instead of removing them. This creates token boundaries at symbol positions,
fixing sorting of names like "15-9" vs "15-10" which were previously being
compared as single numbers (159 vs 1510).
Fixes issue where hyphenated numbers like 15-10 appeared after 20-4
instead of after 15-9.
Co-authored-by: OxygenCobalt <65370175+OxygenCobalt@users.noreply.github.com>