This Liquidsoap code can be used to store autocue data in Azuracast.
If you aren't aware of the Liquidsoap autocue
feature yet, please read the Azuracast Autocue Quickstart Manual at the bottom of this Read Me.
Each time a song starts playing, this script will check if autocue data was determined by Liquidsoap autocue
. If so, it will update below listed data of the related song/track in Azuracast. You can see the result on Media "Visual Cue Editor" or "Advanced" tab.
Please consider that existing cue/fade/amplify data could be overwritten!
- cue in (
liq_cue_in
) - cue out (
liq_cue_in
) - crossfade/overlap duration (
liq_cross_duration
) - fade in (
liq_fade_in
) - fade out (
liq_fade_in
) - amplify (
liq_amplify
)
Create a new API Key in Azuracast.
- Navigate to:
My Account > API Keys > Add API Key
- Choose any name for the new key (e.g.
autocue
) and press "Create new key" - Copy the API Key and store it in a safe place
- Navigate to
Station > Broadcasting > Edit Liquidsoap Config
- Copy the content of
liquidsoap.liq
to the 3rd Config Box (aftercrossfade
/cross
).
Replace add-your-azuracast-api-key-here
with your API key.
Proceed with below steps first, if you haven't enabled the autocue feature yet.
Autocue support starts with Azuracast Rolling Release 2024-04-02.
- Disable Azuracast managed crossfading
- Navigate to
Station > Broadcasting > Edit Liquidsoap Config
- Add to 1st Config Box:
enable_autocue_metadata()
- Add to 3rd Config Box:
radio = crossfade(radio)
- Save & reload station
Unless you know exactly what you are doing, please remove all other custom LS code from the Azuracast config boxes!
Happy autocue-enabled broadcasting!