Replies: 3 comments
-
I'm not sure why you want to do this nesting, could this work: dc = switch([
(predicate.once({10h30m-10h45m}), jingle),
({true} , request.queue(id="q")),
(xmaslist , xmasmix),
({true}, daymix)
]) |
Beta Was this translation helpful? Give feedback.
-
Hi @toots
And in the |
Beta Was this translation helpful? Give feedback.
-
I just pushed a cleanup of the request pool implementation and it looks like it did a lot of good to the memory and CPU usage: I'd suggest to test the latest rolling release for 5907040 |
Beta Was this translation helpful? Give feedback.
-
Hello everyone, I've tried a lot of configuration but I can't get them works. I was looking for doing a conditional playlist, for example i define this
xmaslist = interactive.bool("xmas_playlist", false)
ok, with this I can use var.set to change from true or false this value.
Then I've got two main playlist, daymix and xmasmix and obviusly a q structure for the requests; in my switch
Is this correct or not ? I want that: when a request is pulled this is immediatly handled, then, when xmaslist bool is set to true then that playlist works, eventually it was false then the default daymix should be played.
and another question, If I want that the jingle playlist from above is played immediatly at 10h30m how can I archive this ? when I put the track_sensitive out from the fallback I get a syntax error.
Any help will be apreciated, thanks a lot!
Beta Was this translation helpful? Give feedback.
All reactions