Listener Erroring on Arm from Custom List
I am trying to setup a listener on a series of tracks whose position may shift. When the listener is using a Custom List value, I receive critical error.


Doing some troubleshooting, this custom list value is populated correctly – If I remove the get list from the listener and instead put in a CSS log action block, it works correctly.


Attached JSON:
Mapping: INIT – Capture Track Locations builds the list (On a generic Ableton session, all values in list are 0)
Mapping: Testing Arm in Listener
You have entered 2 closing parenthesis instead of 1 in the field: Track Number (custom code)
Ah that was an attempt at int( ) that didn’t work either, I have same issue with a single one just confirmed.
I see what you mean…
In the below example, I wanted to check if the list item is equal to the number 35656.
Using the default condition didn’t work as list items are stored as strings.
To check if a list item is a number, I changed my condition to custom code and then wrapped the method call to self.get_list_item in an int()
This fixed it for me and i was able to print to the CSS log only when the list item is equal to 35656.
From this: self.get_list_item("list1", 0) == 35656
To this: int(self.get_list_item("list1", 0)) == 35656

Hi John I’m still troubleshooting this one (with parenthesis not broken)
so I’m pretty convinced that for whatever reason getting the value from a list just isn’t callable from the Listener section for Track, but the exact same code and call works perfectly fine if I want to specify a track using the list anywhere else like condition or action.
Any reasoning on that hypothesis? Alternatives to getting value from list if called in the listener on track section?
Sign up
User registration is currently not allowed.
I’ve done a dozen tests, I’m becoming increasingly confident that the get list value is for some reason simply not accessible to the listener condition?