Hi,

 

I'm very new to liquidsoap so expect that I'm doing (or not doing) something
fundamental! I'm running liquidsoap 2.0 on ubuntu 21.04.

 

I have a directory containing a mixture of jingles and promos all at the
same level (ie not within sub-directories).

I also have another directory containing sub-directories with music. What I
want to happen is for a jingle or promo to be played every fourth music
track.  What is happening, though, is:

 

1.      The source seems to get stuck on either jingles or promos rather
than a mixture of them.
2.      The jingle/promo is not played everry fourth song - it can be played
after three tracks or five, etc.  On one occasion, I've seen in the log that
four tracks are prepared before a jingle is played; yet, when I was
listening, the jingle was played after the third track!

 

Below is an extract from my script and any help with it would be greatly
appreciated.

 

Thanks for any help.

 

jingles=audio_to_stereo(mksafe(normalize(playlist("/home/radio/jingles"))))

SixtiesPlus=audio_to_stereo(mksafe(normalize(playlist("/home/radio/music/dec
ades/60s70s80s"))))

radio=mksafe(switch(track_sensitive=false, [({1w}, Monday), ({2w}, Tuesday),
({3w}, Wednesday), ({4w}, Thursday), ({5w}, Friday), ({6w}, Saturday),
({7w}, Sunday)]))

radio=mksafe(crossfade(smart=true, rotate(weights=[1, 4], [jingles,
radio])))

 

Regards

Richard Bartholomew

 

_______________________________________________
Savonet-users mailing list
Savonet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to