[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)
Fabrice Planquette Edited question
Hi Fabrice,
I checked your scheduler.json; color_index isn’t a function but a variable and the scheduler tries to call it.
By making a function that performs the change, and then submitting that function into the scheduler, I was able to make it work.
def change_color(): self.song().tracks[4].color_index = 30 self.schedule_message(1, change_color)
Fabrice Planquette Posted new comment
Attached Files:
Sign up
User registration is currently not allowed.
Yeah Glenn you’re right. I just understood yesterday evening that a function was expected here. Thx.