mirror of
https://github.com/MrPatben8/konduktor.git
synced 2026-12-03 18:32:51 +01:00
Added Rekordbox capabilities handling
This commit is contained in:
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",
|
||||
|
||||
Reference in new issue
Block a user