Add support for drop_metadata and merge_tracks

Read 1116 times
I'd like Centova Cast to support a solution that is already present in Liquidsoap: drop_metadata and merge_tracks. It would allow to resolve the issue with OPUS streams stopping on each change of metadata.

I already experimented with removing metadata by putting drop_metadata and merge_tracks in RAW configuration, however, without success - Centova Cast shows a lot of errors when I try to restart the server.
A quick solution I've found so far - add to your custom.liq file the following lines:

centovacast.callback_live := fun(s) -> drop_metadata(s)
centovacast.callback_autodj := fun(s) -> drop_metadata(s)