Skip to content

nightly-59543bfd-ls14

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 16 Nov 16:17
· 9 commits to nightly since this release

CI

Test report · Build status

LinuxServer changes

Full Changelog: nightly-ee6e08a7-ls13...nightly-59543bfd-ls14

Upstream changes

Source: beetbox/beets@59543bf

fix(info): handle non-string elements when joining list tag values (#7184)

Description

Fixes #7183.

When beet info reads file tags via mediafile, fields such as
synced_lyrics return a list of (text, timestamp_ms) tuples rather
than a list[str]. In beetsplug.info.print_data, calling "; ".join(value) directly on non-string list elements raised TypeError: sequence item 0: expected str instance, tuple found.

Additionally, the second if value is not None: branch in print_data
previously overwrote formatted[key] back to the raw list, requiring
a duplicate isinstance(value, list) check when printing.

This change:

  • Converts list elements with str(v) when joining ("; ".join(str(v) for v in value)).
  • Uses elif value is not None: so formatted[key] retains the joined
    string and removes the duplicate list-join check in the print loop.
  • Adds a regression assertion for synced_lyrics in
    test/plugins/test_info.py.

To Do

  • Documentation.
  • Changelog.
  • Tests.