Skip to content

Release v2.5.1

Latest

Choose a tag to compare

@github-actions github-actions released this 22 Nov 22:34
· 18 commits to main since this release

Fixed

  • Track and disc totals – Writing a total replaces a denominator the track
    field already states, in every format: applyTags({ totalTracks: 11 }) or
    setProperty("TOTALTRACKS", "11") on a file reading "3/12" now writes
    "3/11". Previously the total was silently ignored. Vorbis (FLAC, OGG), WAV
    and AIFF store the result as a separate TRACKNUMBER/TRACKTOTAL pair; ID3
    (MP3) and MP4 rewrite the combined "n/total" value. On one open handle the
    later of a pair and a total wins; a pair supplied in the same update still
    clears a stale separate total.

  • Track and disc totals – setProperties({ TRACKTOTAL: ["12"] }) on a file
    reading "5/11" now writes "5/12" (and likewise DISCTOTAL), keeping the
    number the caller did not mention, with the same per-container storage as
    above. Previously it left the file unchanged on the WASI backend and wrote
    "0/12" on the Emscripten backend. A pair supplied in the same map still
    wins.

  • AIFF-C – An A-law or µ-law file no longer reports itself as PCM and
    lossless; it reports G.711 and lossy. IEEE-float AIFF-C reports
    IEEEFloat, and an unknown compressed AIFF-C codec reports AIFF. Plain
    AIFF and NONE/sowt AIFF-C stay PCM and lossless.

Full Changelog: v2.5.0...v2.5.1