mirror of
https://github.com/MrPatben8/konduktor.git
synced 2026-11-27 10:22:51 +01:00
Begun implementing OneLibrary editing
This commit is contained in:
1 parent
2784879872
commit
775e94168c
28 files changed
+1392
-152
No files matched your search
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user