ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/ns_dev/Python/NinoCode/Active_prgs/MusicDriveSync/CLAUDE.md
(Generate patch)

Comparing Python/NinoCode/Active_prgs/MusicDriveSync/CLAUDE.md (file contents):
Revision 993 by nino.borges, Sat Mar 14 23:06:54 2026 UTC vs.
Revision 994 by nino.borges, Sun Mar 15 03:35:46 2026 UTC

# Line 203 | Line 203 | pip install wxPython mutagen
203  
204   ---
205  
206 + ## Absolute Rules
207 +
208 + - **The NAS music library is read-only. NEVER delete or modify files under `music_library_path`.**
209 +  The library is the master collection. The app is only permitted to read and scan it.
210 +  All writes, copies, and deletions are restricted to the drive folders under `[Drives]`.
211 +  `RemoveTracksFromDrive()` enforces this with an explicit path prefix guard — any file
212 +  whose path does not begin with the active `drive_path` is silently skipped and never touched.
213 +
214 + ---
215 +
216   ## Notes & Decisions
217  
218   - **Filesystem over Music Assistant API**: Scan the NAS directly. FLAC tags are

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)