I strongly suspect there's already a `Liquidsoapy` solution for this problem,
but I'm not aware of what it is, so I figured I'd ask on here:
Currently, when users indicate that they'd like a song to play once per day at
a specified time (or once per hour), the Liquidsoap config we're writing is
basically:
```
radio = switch(track_sensitive=true, [ ({ 2h58m },
once(playlist_interrupting_cow_moo)), ({true}, radio) ])
```
However, this is having the effect of only playing the song specified if the
"next song" is calculated exactly at the 2:58 minute. Of course, when
track_sensitive is set to `false` this isn't a problem, and it just directly
interrupts the existing stream.
However, with track_sensitive set to `true`, what our users are actually
looking for is that when the time the track is due to play comes up, the song
gets queued up as the next-playing song and then right as the current track
finishes, even if the specific minute when the song should've played is up, it
goes ahead and plays through anyway.
I'm not sure how to do this in Liquidsoap. We could always just have the web
application do a minute-by-minute check of songs that are due to play at that
minute and push to the "requests" queue, but of course I'd like to avoid this
if at all possible.
Thanks as always for your help and continued development. <3
--
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/779
_______________________________________________
Savonet-users mailing list
Savonet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-users