I have this configuration
```
jingles =
audio_to_stereo(playlist(mode='randomize',reload=120,reload_mode="seconds","/radio/jingles"))
music =
playlist(mode='randomize',reload=60,reload_mode="seconds","/radio/music")
morning =
audio_to_stereo(playlist.once(reload_mode="watch","/radio/morning.m3u"))
afternoon =
audio_to_stereo(playlist.once(reload_mode="watch","/radio/afternoon.m3u"))
evening =
audio_to_stereo(playlist.once(reload_mode="watch","/radio/evening.m3u"))
rotating = random(weights = [1, 3],[jingles, music]) # This plays
radio=fallback(track_sensitive=false,[switch([
({08h00}, morning),
({13h00}, afternoon),
({20h00}, evening)
]), rotating])
radio = fallback([radio, security])
```
I want to play a playlist at specific times during the day. When one of these
playlists end (independently from the duration), then the rotating playlist
come in again.
In example, at 8h00 the _morning_ playlist plays, it lasts 10 minutes, then at
8h10 the _rotating_ playlist is played.
**_It works_**, as far as the _morning_, _afternoon_ and _evening_ playlists
are not modified after liquidsoap was started.
If these `playlist.once` playlists are modified during the day (in the logs I
can see that the playlist is reloaded), when the hour to play such playlist
comes, most of the times I get this message in the logs, the playlist is not
played, and the rotating one continues to play.
`[request.dynamic_5179:1] Failed to prepare track: request not ready.`
No other messages.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/savonet/liquidsoap/issues/735
_______________________________________________
Savonet-users mailing list
Savonet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-users