Fixed crash caused by permanent path remapping

This commit is contained in:
patben8 committed 2026-09-25 22:41:08 +02:00
1 parent a3747e887b
commit b9d43dd7ea
9 files changed
+53 -28

No files matched your search

@@ -223,7 +223,7 @@ class OneLibraryAdapter:
paths = [Path(p) for p in self._store.all_audio_paths()]
return {"total": len(paths), "matched": 0, "existing": 0, "samples": []}
def remap_locations(self, mapping: PathMapping) -> int:
def remap_locations(self, mapping: PathMapping) -> dict[str, str]:
raise Unsupported(self._readonly_reason("Rewriting stored paths"))
# ---- save -------------------------------------------------------------