Use Live API
Hi remotify,
I wonder if it is possible to use the full Live API within Remotify, or can we only use a subsection of it (maybe we can only use what has been added so fare)?
I found this
https://nsuspray.github.io/Live_API_Doc/11.0.0.xml#Live-Browser
I’m trying to list my User folders from Lives browser with this code
myUser_folders = self.application().browser.user_folders
my_sub_item_1 = myUser_folders.children[0]
But I’m getting this error message
> ‘BrowserItemVector’ object has no attribute ‘children’
I’m not sure if the syntax is correct or if something else is preventing it from working.
Hi JohnC,
Thanks for getting back to me!
So I have this code in a reaction, and it works (It lists all my User Folders in Ableton, and its contents).
self.user_folders = self.application().browser.user_folders
for folder_index, user_folder in enumerate(self.user_folders):
self.log_message(“user_folder [index:” + str(folder_index) + “] [name:” + user_folder.name + “]”)for index, browser_item in enumerate(user_folder.children):
self.log_message(“browser_item [index:” + str(index) + “][name:” + browser_item.name + “][is_folder:” + str(browser_item.is_folder) + “][is_loadable:” + str(browser_item.is_loadable) + “][is_selected:” + str(browser_item.is_selected) + “]”)
This is a section of the generated output in the log (Folder and file names in bold)
2025-05-31T17:56:52.275757: info: Python: INFO:_Framework.ControlSurface:275 – LOG: (css_remove_neon) user_folder [index:0] [name:LiveDJ]
2025-05-31T17:56:52.275831: info: RemoteScriptMessage: (css_remove_neon) user_folder [index:0] [name:LiveDJ]
2025-05-31T17:56:52.395226: info: Python: INFO:_Framework.ControlSurface:395 – LOG: (css_remove_neon) browser_item [index:5][name:8B_126_Donna Summer – I Feel Love_PN.als][is_folder:False][is_loadable:True][is_selected:False]
2025-05-31T17:56:52.395250: info: RemoteScriptMessage: (css_remove_neon) browser_item [index:5][name:8B_126_Donna Summer – I Feel Love_PN.als][is_folder:False][is_loadable:True][is_selected:False]
Now that I have folder and file names I would like to be able to load the Clip Pack e.g “8B_126_Donna Summer – I Feel Love_PN.als” into Session View and I have found this API
load_item() #Method
load_item( (Browser)arg1, (BrowserItem)arg2) → None
Loads the provided browser item.
Location of Live API
https://nsuspray.github.io/Live_API_Doc/11.0.0.xml#Live-Browser
As I’m not sure how to apply this API (I have tried and failed to construct) I wonder if you have some insight or some suggestions how to use the API I would appreciate it!
Joachim
Sign up
User registration is currently not allowed.