Re hello,
I'am back to you about "map_metadata" function who's work now perfectly
..almost perfectly.
I show you my .liq file
<-------------------------
promotions = playlist("/home/user/promo.lst")
mix = playlist("/home/user/mix-minimal.lst")
mixnuit = playlist("/home/user/mix-minimal.lst")
normal = playlist("/home/user/minimal.lst")
#####
security = mksafe(playlist("/home/user/safe.lst"))
#####
timed_promo = delay(3600., promotions)
#####
radio = switch([ ({16h00-19h30}, mix), ({19h30-21h}, normal), ({21h-23h30},
mixnuit), ({23h30-16h00}, normal) ])
#####
radio = map_metadata(fun(m)->[("title", get_process_output("basename
#{quote(m[\"filename\"])}"))], playlist("/home/user/minimal.lst"))
####
flux_final = fallback(track_sensitive=true, [radio, timed_promo, security])
---------------------------->
Since i use this function, Liquidsoap play only one playlist,
the one used in the "map_metadata" definition.
I've try to use * in the "map_metadata" playlist definition :
playlist("/home/user/*.lst")
to force liquidsoap mapping metadata
of any playlist is this folder..but not work.
I've try to add a second playlist in the func definition :
radio = map_metadata(..blablabla..))], playlist("/home/user/minimal.lst"),
playlist("/home/user/mix-minimal.lst"))
not work , return (the function has no more unlabeled argument!)
?? How should i do ?
thank
J'espère ne pas abuser de votre patience :-/