Skip to content

0.12.0 - 2022-02-10

Compare
Choose a tag to compare
@snejus snejus released this 10 Feb 13:28
· 559 commits to main since this release
0.12.0
142218e

Added

  • album: following MusicBrainz title format specification, strings EP and LP are from now on kept in place in album names.
  • catalognum: To find the catalog number, we have previously been looking at the release title and pointers such as Catalogue Number: within the release description.

In addition to the above, we now apply a generic search pattern across the rest of the text, including media title, media description and the rest of the release description.

For those interested, at a high level the pattern used in the search looks like below

(
      [A-Z .]+\d{3}         # HANDS D300
    | [A-z ][ ]0\d{2,3}     # Persephonic Sirens 012
    | [A-Z-]{2,}\d+         # RIV4
    | [A-Z]+[A-Z.$-]+\d{2,} # USE202, HEY-101, LI$025
    | [A-Z.]{2,}[ ]\d{1,3}  # OBS.CUR 9
    | \w+[A-z]0\d+          # 1ØPILLS018, fa036
    | [a-z]+(cd|lp)\d+      # ostgutlp45
    | [A-z]+\d+-\d+         # P90-003
)
( # optionally followed by
      [ ]?[A-Z]     # IBM001V
    | [.][0-9]+     # ISMVA002.1
    | -?[A-Z]+      # PLUS8024CD
)?
  • albumtype: similar to the catalognum, the descriptions are searched for EP and LP strings presence to find out the albumtype.

  • track: Support for tracks that do not use dash (-) but some other character to separate pieces of information in track names. For example, consider the following tracklist:

A1 | WHITESHADOWHURTS x TOXICSPIKEBACK | Arcadia
A2 | WHITESHADOWHURTS | Corrupted Entity
A3 | WHITESHADOWHURTS | Colosseo
B1 | TOXICSPIKEBACK | Eclipse
B2 | TOXICSPIKEBACK | Eclipse [DJ LINT's Tribe Mix]
B3 | WHITESHADOWHURTS | Corrupted Entity [OAT.M's Oldschool Mix]

beetcamp now finds that | is being used as the delimiter and parses values for track_alt, artist and title accordingly.

Updated

  • singleton: album and albumartist fields are not anymore populated.
  • catalognum: artists like PROCESS 404 are not assumed to be catalogue numbers anymore.
  • track_alt: allow non-capital letters, like a1 to be parsed and convert them to capitals.
  • albumartist: use Various Artists (or equivalent) when a release includes more than four different artists. Until now we've only done so for compilations.
  • genre: genres are now sorted alphabetically

Fixed

  • Support for beets<1.5 has been broken since 0.11.0, - it should now work fine. However, fields such as comments and lyrics are not available, and album-like metadata like catalognum is not available for singletons. Thanks @zane-schaffer for reporting this issue (Closes #22).
  • singleton: catalognum, if found, is now reliably removed from the title.
  • track.title: - delimiter is handled more appropriately when it is found in the song title.
  • albumartist: for the Various Artists releases, the plugin will now use the globally configured va_name field instead of hard-coding Various Artists.
  • artist: Recent bandcamp updates of the JSON data removed artists names from most of compilations, therefore we are again having a peek at the raw HTML data to fetch the data from there.