[Solved] Defer your response
Hi, what does mean this:
> Changes cannot be triggered by notifications. You will need to defer your response.
Related to this script:
self.song().tracks[self.get_list_item("list1", 1)].color_index = self.get_list_item("list1", 0)
This 2021 answer from the Remotify admin might help you out.
Based on that answer, here’s what might be a work-around:
– Use the Reaction with the “Visible Tracks has changed” Listener to save an index to a Modifier.
– Create a second Reaction that Listens to that Modifier being updated; which then changes the Track Color to the index stored in that Modifier.
OR
Maybe you could make a separate thread, where you let the code wait for half a second before running the code that changes the color. That way the original Reaction will have completed already while the thread is waiting (or that’s what I’m guessing, not entirely sure I’m getting the logistics of threading right).
Sign up
User registration is currently not allowed.