it's me ..again :/
thanks for the precious explanation.

> In a nutshell it means that you can simply
> add the feature to your script as follows:
>
> >  # Ce que l'on passe a la radio - What we feed to the radio
> >  radio = myplaylist
> would become:
>   radio = crossfade(radio)

?? if i simply add this, i get an error message from liquidsoap
asking for some value :
it's WORK ONLY (for me) if i add (value are example) :
radio = crossfade(start_next=1.,fade_out=5.,fade_in=5.,radio)
and NOT ONLY
radio = crossfade(radio)
I'm guessing there is default value..but seems not.
But now it's work, that's the goal . :-)

>
> If you want the crossfade to also apply on your promotion tracks, then
> modify the line defining your flux_final:
>   flux_final = crossfade(fallback(track_sensitive=false, [timed_promo,
> radio, security]))
>

if i change "track_sensitive=false" to track_sensitive=true
it mean liquidsoap don't stop the currently played
track to start the scheduled playlist ?

It's very important for me, waiting for the end of the track
and playing the jingles or timed_promo..

##################################
Another couple of questions :

I my first radio.liq i use only one playlist = "myplaylist"
but now i wish to use 3 playlists.

How to define a radio with multiple playlist ?
Please let me know if I'm right.
#-----------------------------
promotions = playlist("/home/xxxxx/promo.lst")
aprem = playlist("/home/xxxx/mix-minimal.lst")
normal = playlist("/home/xxxx/minimal.lst")
radio = aprem
radio = normal
radio = promotions

then, Can I use the crossfade function like that ? Is it working for "radio"
defined like above ?:
radio = crossfade(start_next=1.,fade_out=5.,fade_in=5.,radio)
#-----------------------------
It crossfade ALL tracks of ALL my playlist ? (but NO crossfade between tracks
from differents playlists).

Crossfade between all playlist :
To do that (with optional things to fit my needs):
#----------------------------
timed_promo = delay(3600.,promotions)
flux_final = fallback(track_sensitive=false, [timed_promo, radio])
then
flux_final = crossfade(start_next=1.,fade_out=7.,fade_in=7.,flux_final)
#----------------------------

Now i'm trying to use "switch" function but not easy to insert in my
"flux_final"
flux_final = switch([({14h45-18h}, aprem), ({18h-14h45}, normal)])
it not work.

Reply via email to