Is there a way to change the playback control timeout?
I am having issues with my skill whereas the playback control times out before my skill has an opportunity to parse a library to ensure that it can play what is requested.
What is the timeout period for a skill to complete the
CPS_match_query_phrase
I think the delay is hard coded to 5 seconds (see here)
For testing you can change this to 10.
I think you can reset it manually by sending an additional play:query.response
message with a searching field set to True in the data
self.bus.emit(Message('play:query.response', {"phrase": search_phrase,
"skill_id": self.skill_id,
"searching": True}))
Set a timer for 4 seconds triggering the above should give you 9 seconds, This is something I haven’t tried though.
Perhaps a parameter can be added to allow your skill to request a longer period?
I get a str object is not callable error with this.
Sorry bad copy-paste-edit, should be
self.bus.emit(Message('play:query.response', {"phrase": search_phrase,
"skill_id": self.skill_id,
"searching": True}))
(I think)
1 Like
Thank you!
Found this for others searching…