Add is_recording to clip_slot properties#175
Open
ldraney wants to merge 5 commits intoideoforms:masterfrom
Open
Add is_recording to clip_slot properties#175ldraney wants to merge 5 commits intoideoforms:masterfrom
ldraney wants to merge 5 commits intoideoforms:masterfrom
Conversation
Changed imports in abletonosc/osc_server.py: - FROM: `from ..pythonosc` (relative - fails with "beyond top-level package") - TO: `from AbletonOSC.pythonosc` (full package path - works) Note: `from pythonosc` alone doesn't work because the module isn't on Python's path directly - it needs the full package prefix. Related to upstream issue ideoforms#121 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Adds the ability to load devices onto tracks by name using the Live browser API. Usage: /live/track/insert_device <track_index> <device_uri> [device_index] Example: /live/track/insert_device 0 "Wavetable" -1 The handler searches through browser.instruments, browser.audio_effects, browser.midi_effects, browser.drums, and browser.sounds for a matching device name and loads it onto the specified track. Returns: - (device_index,) on success - the index of the newly added device - (-1,) if device not found This enables programmatic device insertion, which was previously not possible via OSC. Useful for automated music production workflows and AI-assisted composition tools. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Exposes the is_recording property for ClipSlot, which was missing from the read-only properties list. This aligns with the Clip handler which already exposes is_recording. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
In Live 12, browser.packs is a BrowserItem, not an iterable. Changed all 'for pack in browser.packs:' to 'for pack in browser.packs.iter_children:' to fix TypeError: 'BrowserItem' object is not iterable. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
is_recordingto the ClipSlot handler'sproperties_rlistMotivation
The
is_recordingproperty is part of Ableton's Live Object Model for ClipSlot but wasn't exposed via OSC. This caused timeouts when clients attempted to query/live/clip_slot/get/is_recording.Changes
abletonosc/clip_slot.py: Added"is_recording"toproperties_rlistTesting
Tested with abletonosc-client library - the endpoint now returns the expected boolean value.
🤖 Generated with Claude Code