Hi all,
I have a fairly simple setup (running liquidsoap 0.9.2-3+b1 from
packages on Debian stable). However, it seems there's an issue with how
I 'rotate' between normal song tracks and jingles (I call them sweepers).
I noticed that every time the stream rotates to a sweeper, and then goes
back to the normal "rock" or "heavy" playlist (depending on the time,
see below), the whole rock/heavy playlist is reloaded/shuffled and may
play tracks that were just played a bit before the sweeper, without
going through the rest of the playlist files first.
I would like my script to play the full playlist, even while rotating
between it, the sweepers and the 'secondary' tracks (less popular
tracks), before repeating tracks again.
This is an excerpt of my liquidsoap script so far:
----------------
rock = playlist("/srv/socorock/rock")
heavy = playlist("/srv/socorock/heavy")
sweepers = playlist("/srv/socorock/sweepers")
security = single("/srv/socorock/default.ogg")
radio = fallback(track_sensitive=true,
[ switch([
({ 24h-4h }, heavy ),
({ 4h-24h }, rock )]),
security])
radio = rotate(weights = [1, 5], [sweepers, radio])
radio = rotate(weights = [1, 30], [secondary, radio])
----------------
It's probably something I just don't understand yet (I'm still trying to
get the swing of the scripting syntax and API functions).. any help
would be appreciated.
Thank you so much for making such an awesome streaming client!! I love
being able to control my web radio station this way. I am hoping to
mature a lot of my bash scripts to make control of it very easy and
customizable for myself once I get a better grip on everything =)
Cheers,
Jordan
--
Jordan (PGP: 0xDA470FF8)
------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users