Begun implementing OneLibrary editing

This commit is contained in:
patben8 committed 2026-10-01 15:07:43 +02:00
1 parent 2784879872
commit 775e94168c
28 files changed
+1392 -152

No files matched your search

+2 -1
View File
@@ -89,7 +89,8 @@ def stage(src: OneLibraryAdapter, music: Path) -> list[NewTrack]:
print("== a drive's tracks land in the collection ==")
nml, music, original = fresh_collection()
source = OneLibraryAdapter(FIXTURE)
# As the app opens a device: read-only (a drive opened as THE library is editable).
source = OneLibraryAdapter(FIXTURE, read_only=True)
dest = TraktorAdapter(nml)
before = len(dest.tracks)
items = stage(source, music)