mirror of
https://github.com/MrPatben8/konduktor.git
synced 2026-11-27 10:22:51 +01:00
Implemented efficient re-exporting
This commit is contained in:
1 parent
3a9dc90344
commit
bb9f6e2bd3
14 files changed
+727
-63
No files matched your search
@@ -201,7 +201,7 @@ both_payload = ExportPayload(name="GIG", tracks=moved, playlists=payload.playlis
|
||||
ol_written = core_export.for_platform("onelibrary").write(both_payload, both)
|
||||
stamp = {p: p.stat().st_mtime_ns for p in ol_written.extra if p.suffix in (".DAT", ".EXT", ".2EX")}
|
||||
calls = []
|
||||
both_payload.checkpoint = calls.append
|
||||
both_payload.checkpoint = lambda m, **_progress: calls.append(m)
|
||||
dev_written = dev.write(both_payload, both)
|
||||
dat_files = sorted(both.rglob("*.DAT"))
|
||||
check("still one .DAT per track", len(dat_files) == 3, len(dat_files))
|
||||
|
||||
Reference in new issue
Block a user