Skip to content

Fix folder name parsing for em dash separator

jedmund requested to merge jedmund/parse-jp-dash into main

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 — Album correctly parse artist and album
  • Verify existing hyphen-separated folder names still parse correctly
  • pnpm run build passes

🤖 Generated with Claude Code

Merge request reports

Loading