Fix folder name parsing for em dash separator
Summary
- Folder names using the Japanese em dash (
—, U+2014) surrounded by spaces as an artist–album separator were not being parsed correctly - Updated all 4 dash-split regexes in
parseFolderName()to accept both-and—
Test plan
-
Verify folder names like [2024.01.01] Artist — Albumcorrectly parse artist and album -
Verify existing hyphen-separated folder names still parse correctly -
pnpm run buildpasses