Hi,
2018-03-17 11:11 GMT-05:00 Lee Morgan <[email protected]>:
> When a jingle is played, metadata for the jingle shows for a few seconds,
how can I get Liquidsoap to completely ignore metadata every time a jingle
is played?
>
> I insert jingles like this:
>
> radio=rotate(weights=[1,6],[jingle,techno])
The best is to do the following:
* Mark the jingle tracks with a special metadata, for instance using
map_metadata or the annotate: protocol.
* Then later down in the stream use another map_metadata which does the
following:
def strip_jingle_metadata(m) =
if m["jingle"] == "true" then
[]
else
m
end
s = map_metdata(strip=true,strip_jingle_metadata,s)
Hope that makes sense,
Romain
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users