Hi!

playlist.once() does this job. It cuts the playlist after the end-time.

http://liquidsoap.fm/doc-1.3.3/reference.html#playlist_once

Cheers

Am 23.11.2017 um 13:45 schrieb Stephan Hoppe:
Hi:

I want to cut into my regularly playing playlist each day at a certain time and play a remote stream (that is never blank - it's always playing something) for just one hour ... after which I want to fallback to my regular playlist again.

myplaylist = playlist("/home/user/playlist.m3u")
remote_stream = input.http("http://remote_stream";)
output.dummy(fallible=true, remote_stream)
myplaylist = switch([ ({13h00-14h00},remote_stream), ({true}, myplaylist) ] )

Using the bit of .liq above, remote_stream comes on at/after 13h as it should, but then it plays forever.  How to get it to stop and fall back to myplaylist at 14h, please?

Thanks,
S


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot



_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to