Added Rekordbox capabilities handling

This commit is contained in:
patben8 committed 2026-09-18 09:36:05 +02:00
1 parent 4592e13228
commit 010f67cd2d
14 files changed
+297 -43

No files matched your search

@@ -37,9 +37,14 @@ HOTCUE_SLOTS = 8
def capabilities_for(
path, version: str | None = None, *, cloud_synced: bool = False
) -> Capabilities:
# A cloud-synced library is refused PERMANENTLY, not pending a milestone:
# a local edit the server did not issue could propagate a broken sync state
# to the user's other machines, which version history cannot undo.
return Capabilities(
platform="rekordbox",
version=version,
writable=False,
readonly_cause="cloud_synced" if cloud_synced else "platform_incomplete",
cues=CueCapabilities(
hotcue_slots=HOTCUE_SLOTS,
slot_labels="letter",