mirror of
https://github.com/MrPatben8/konduktor.git
synced 2026-12-03 18:32:51 +01:00
Implemented export status
This commit is contained in:
1 parent
ba3e7c251e
commit
ed9dfc9d6b
12 files changed
+929
-7
No files matched your search
@@ -235,6 +235,13 @@ class RekordboxAdapter:
|
||||
self._require_writable("Creating playlists")
|
||||
return self._store.create_playlist(name, parent_id)
|
||||
|
||||
def create_folder(self, name: str, parent_id: str | None = None) -> str:
|
||||
# Rekordbox CAN hold folders (`capabilities.playlists.folders` is
|
||||
# True, and pyrekordbox has `add_playlist_folder`), so this is a
|
||||
# gap rather than a refusal in principle. Traktor is the only
|
||||
# import target for now, so it is the only one that needed it.
|
||||
self._refuse("Creating playlist folders")
|
||||
|
||||
def rename_playlist(self, node_id: str, name: str) -> None:
|
||||
self._require_writable("Renaming playlists")
|
||||
self._store.rename_playlist(node_id, name)
|
||||
|
||||
Reference in new issue
Block a user