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
@@ -44,8 +44,8 @@ def driver_for(path: Path) -> LibraryDriver:
|
||||
raise LibraryNotSupported(f"No DJ library Konduktor recognises at {path}")
|
||||
|
||||
|
||||
def open_library(path: Path):
|
||||
return driver_for(path).open(path)
|
||||
def open_library(path: Path, *, read_only: bool = False):
|
||||
return driver_for(path).open(path, read_only=read_only)
|
||||
|
||||
|
||||
def describe(path: Path) -> dict:
|
||||
|
||||
Reference in new issue
Block a user