Hey Guys.
Is it possible that Liquidsoap can interrupt a scheduled tracks and now
wait till its finished?
I'm trying to build a scheduling system in the .liq file but when a show
time arrives, liquidsoap dose not intervene. its just waits for the
playlist to finnish.
How can i bypass that without using Airtime?
The Script:
singles = playlist(mode='randomize',reload=1,reload_mode="rounds",
"/srv/tranceilmusic/music/singles")
replays = playlist(mode='randomize',reload=1,reload_mode="rounds",
"/srv/tranceilmusic/music/replays")
jingles = playlist(mode='randomize',reload=1,reload_mode="rounds",
"/srv/tranceilmusic/music/jingles")
silk = playlist(mode='randomize',reload=1,reload_mode="rounds",
"/srv/tranceilmusic/music/")
chill = playlist(mode='randomize',reload=1,reload_mode="rounds",
"/srv/tranceilmusic/music/chillednights")
# Schedule
silkmornings = rotate(weights = [1, 6], [jingles,silk])
chillout = rotate(weights = [1, 6], [jingles,chill])
rotating = rotate(weights=[1,2,1,5],[jingles,replays,jingles,singles])
singles2 = rotate(weights=[1,6],[jingles,singles])
default=fallback([switch([
({ (1w or 3w or 4w) and 02h-07h}, chillout),
({ (0w or 1w or 2w or 3w or 4w or 5w or 6w) and 07h-12h},
silkmornings),
({ (0w or 1w or 2w or 3w or 4w or 5w or 6w) and 12h-24h},
rotating),
({ (0w or 1w or 2w or 3w or 4w or 5w or 6w) and 00h-02h},
singles2),
])
])
ignore(output.dummy(default, fallible=true))
------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users