Skip to content

Commit

Permalink
Add migration note about reset_last_metadata_on_track
Browse files Browse the repository at this point in the history
  • Loading branch information
toots committed Jan 4, 2025
1 parent ee8c554 commit e262927
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions doc/content/migrating.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e262927

Please sign in to comment.