From e262927295c8a7169dae83f03b3c5a041c43874d Mon Sep 17 00:00:00 2001 From: Romain Beauxis Date: Sat, 4 Jan 2025 17:22:33 -0600 Subject: [PATCH] Add migration note about reset_last_metadata_on_track --- doc/content/migrating.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/doc/content/migrating.md b/doc/content/migrating.md index cb264ca362..685b644b6c 100644 --- a/doc/content/migrating.md +++ b/doc/content/migrating.md @@ -195,6 +195,17 @@ request.deprecated_on_air_metadata := true However, it is highly recommended to migrate your script to use one of the new method. +### `last_metadata` + +The implementation of `last_metadata` was updated to clear the last metadata when a new track begins. This is more in line with most user's expectation: last metadata +is intended to reflect the metadata of the current track. + +If you need to, you can revert to the previous behavior using the source's `reset_last_metadata_on_track` method: + +```liquidsoap +s.reset_last_metadata_on_track := false +``` + ### Gstreamer `gstreamer` was removed. It had been deprecated for a while. We expect `ffmpeg` to carry most, if not all