v0.96.1: songs are named in Unicode NFC in the music folder, since Syncthing renames anything else under the library (a Bengali YouTube title lost its file that way); a song already renamed so is followed

This commit is contained in:
2026-11-17 22:21:29 -08:00
parent 9f2f9222dd
commit b78b6c5275
6 changed files with 106 additions and 4 deletions
+7
View File
@@ -1357,6 +1357,13 @@ persistence) → GUI (Qt widgets that read the manager and connect to its signal
polished while parentless looks like a window to the installer, so a
`ParentChange` takes the translucency back off — kept on, the now-playing
panel (style sheet set before it had a parent) painted no background.
- **Names in the music tree are NFC** (Round 130): Syncthing (except on a
Mac) renames a non-NFC name to its NFC spelling as it scans, so a YouTube
title with Bengali "ড়" (U+09DC → U+09A1 U+09BC) was renamed under the
library seconds after import and the next tag write hit ENOENT.
`file_importer.sanitize_component` and `_maybe_move_file` write NFC, and
`LibraryManager.repair_location` follows a missing file to its NFC twin
(before every tag write, and on `track_missing` before asking).
- **Music files are only touched deliberately:** tag edits via `tagging.py`,
and — since Round 18 — artist/album_artist/album edits relocate the file
inside `LibraryManager.organize_root()` (`<music_folder>/Music`) to keep the