mirror of
https://github.com/MrPatben8/konduktor.git
synced 2026-11-27 10:22:51 +01:00
Fixed looping issues and tied it to hotcue system
This commit is contained in:
1 parent
9dc020140a
commit
fdcae5e0f5
6 files changed
+119
-37
No files matched your search
@@ -384,7 +384,9 @@ def _sync_cue_edit(track_id: str) -> TrackCues:
|
||||
def create_hotcue(body: SetHotcue) -> TrackCues:
|
||||
"""Create (or reposition + retype) the hotcue in a slot at a position."""
|
||||
try:
|
||||
require_store().set_hotcue(body.track_id, body.slot, body.start, body.type)
|
||||
require_store().set_hotcue(
|
||||
body.track_id, body.slot, body.start, body.type, body.length
|
||||
)
|
||||
except PlaylistError as ex:
|
||||
raise HTTPException(400, str(ex))
|
||||
return _sync_cue_edit(body.track_id)
|
||||
|
||||
Reference in new issue
Block a user