Update in response to comments

This commit is contained in:
InvisibleFunction 2024-03-07 09:11:54 -05:00
parent 94e294581b
commit 33c8ae7a4b
2 changed files with 4 additions and 3 deletions

View file

@ -596,7 +596,7 @@ def album_info(release: Dict) -> beets.autotag.hooks.AlbumInfo:
# Media (format).
if release["medium-list"]:
# If all media are the same, use that medium name
if len(set([x.get("format") for x in release["medium-list"]])) == 1:
if len(set([m.get("format") for m in release["medium-list"]])) == 1:
info.media = release["medium-list"][0].get("format")
# Otherwise, let's just call it "Media"
else:

View file

@ -292,8 +292,9 @@ Bug fixes:
and caching in `zsh`.
:bug:`3546`
* Remove unused functions :bug:`5103`
* Fix bug where all media types are reported as the first media type
:bug:`5134`
* Fix bug where all media types are reported as the first media type when
importing with MusicBrainz as the data source
:bug:`4947`
For plugin developers: