mirror of
https://github.com/MrPatben8/konduktor.git
synced 2026-11-27 10:22:51 +01:00
Fixed crash caused by permanent path remapping
This commit is contained in:
1 parent
a3747e887b
commit
b9d43dd7ea
9 files changed
+53
-28
No files matched your search
@@ -106,6 +106,7 @@ class LibraryAdapter(Protocol):
|
||||
def reload(self) -> None: ...
|
||||
|
||||
# ---- read projection -------------------------------------------------
|
||||
@property
|
||||
def tracks(self) -> list[Track]: ...
|
||||
def track(self, track_id: str) -> Track | None: ...
|
||||
def query_tracks(self, **kw) -> TrackPage: ...
|
||||
@@ -177,7 +178,8 @@ class LibraryAdapter(Protocol):
|
||||
def set_path_mapping(self, mapping: PathMapping) -> None: ...
|
||||
def path_prefix_suggestions(self) -> dict: ...
|
||||
def remap_preview(self, mapping: PathMapping) -> dict: ...
|
||||
def remap_locations(self, mapping: PathMapping) -> int: ...
|
||||
# {old track id: new track id}; ids may change because a Traktor id IS its path.
|
||||
def remap_locations(self, mapping: PathMapping) -> dict[str, str]: ...
|
||||
|
||||
# ---- save -------------------------------------------------------------
|
||||
@property
|
||||
|
||||
Reference in new issue
Block a user