diff --git a/CHANGELOG.md b/CHANGELOG.md index ed7b09a..7b10475 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,17 @@ # autocue changelog +### 2024-06-05 - v2.0.2 + +- Show autocue.cue_file version number in Liquidsoap log on startup, + to ease bug hunting. Your `cue_file` should use the same version. + +The log entry looks like this: + +``` +2024/06/05 16:16:03 [autocue.cue_file:2] You are using autocue.cue_file version 2.0.2. +2024/06/05 16:16:03 [autocue.cue_file:2] Assure that the external "cue_file" has the same version! +``` + ### 2024-06-04 - v2.0.1 - Fix small bug when reading already stored `liq_true_peak` that contained diff --git a/autocue.cue_file.liq b/autocue.cue_file.liq index 96ae642..8013851 100644 --- a/autocue.cue_file.liq +++ b/autocue.cue_file.liq @@ -16,6 +16,7 @@ # 2024-06-04 - Moonbase59 - v2.0.0 Breaking: Add -r/--replaygain overwrite # - Changed `liq_true_peak` to `liq_true_peak_db`, # add new `liq_true_peak` (linear, like RG) +# 2024-06-05 - Moonbase59 - v2.0.2 Initial display of version, at log level 2. # Lots of debugging output for AzuraCast in this, will be removed eventually. @@ -29,7 +30,7 @@ let settings.autocue.cue_file.version = settings.make( description= "Software version of autocue.cue_file. Should coincide with `cue_file`.", - "2.0.1" + "2.0.2" ) let settings.autocue.cue_file.path = @@ -681,6 +682,16 @@ settings.autocue.preferred := "cue_file" # avoid dead air from reconcile, reset default 3.0s to our fade_out duration settings.autocue.target_cross_duration := settings.autocue.cue_file.fade_out() +# Let user know what version (s)he is running +log(level=2, label="autocue.cue_file", + 'You are using autocue.cue_file version \ + #{settings.autocue.cue_file.version()}.' +) +log(level=2, label="autocue.cue_file", + 'Assure that the external "#{settings.autocue.cue_file.path()}" \ + has the same version!' +) + # --- Copy-paste Azuracast LS Config, second input box END --- # Don't forget to add your settings after this. diff --git a/cue_file b/cue_file index 7d59503..465b852 100755 --- a/cue_file +++ b/cue_file @@ -32,12 +32,13 @@ # add new `liq_true_peak` (linear, like RG) # - v2.0.1 Fix `liq_true_peak` reading when it still # contains ` dBFS` from v1.2.3. +# 2024-06-05 Moonbase59 - No change, just version number. # # Originally based on an idea and some code by John Warburton (@Warblefly): # https://github.com/Warblefly/TrackBoundaries __author__ = 'Matthias C. Hormann' -__version__ = '2.0.1' +__version__ = '2.0.2' import os import tempfile diff --git a/test_autocue.cue_file.liq b/test_autocue.cue_file.liq index e8b96c4..d1e89b2 100644 --- a/test_autocue.cue_file.liq +++ b/test_autocue.cue_file.liq @@ -30,7 +30,7 @@ to_live = ref(false) # --- Copy-paste your settings into AzuraCast, second input box AFTER above file --- -settings.autocue.cue_file.path := "./cue_file" +settings.autocue.cue_file.path := "cue_file" # settings.autocue.cue_file.fade_in := 0.1 # settings.autocue.cue_file.fade_out := 2.5 # settings.autocue.cue_file.timeout := 60.0 @@ -42,9 +42,9 @@ settings.autocue.cue_file.path := "./cue_file" settings.autocue.cue_file.noclip := true # clipping prevention settings.autocue.cue_file.blankskip := true # settings.autocue.cue_file.unify_loudness_correction := true -settings.autocue.cue_file.write_tags := true -settings.autocue.cue_file.write_replaygain := true -settings.autocue.cue_file.force_analysis := true +# settings.autocue.cue_file.write_tags := true # testing +# settings.autocue.cue_file.write_replaygain := true # testing +# settings.autocue.cue_file.force_analysis := true # testing settings.autocue.cue_file.nice := true # Linux/MacOS only! # `enable_autocue_metadata()` will autocue ALL files Liquidsoap processes. @@ -83,6 +83,9 @@ jingles = playlist(prefix='annotate:jingle_mode="true",liq_blankskip="false",' radio = random(weights=[1,1], [songs, jingles]) radio = amplify(1.,override="liq_amplify",radio) +# "Fake" LUFS playout adjust. Calculate at -18, play at -14 ;-) +# radio = amplify(lin_of_dB(4.0), override=null(), radio) + # --- Copy-paste Azuracast LS Config, third input box BEGIN ---