User:Wizzcat/Type Migration

From MusicBrainz Wiki
Jump to navigationJump to search

Type conflation for WS-compatability of Release Group <type>

Albums

First detected secondary type takes precedence, so in case of Album+Compilation+Remix, Compilation is returned. Kind of a hack, but the value is just there for compat anyway.

  • Album+Compilation = Compilation
  • Album+Remix = Remix
  • Album+Soundtrack = Soundtrack
  • Album+Live = Live
  • Album+Spokenword = Spokenword
  • Album+Interview = Interview

The rest

Return Primary Type and ignore secondary type. While inaccurate, this mirrors how RGs are currently modeled.

  • Single + * = Single
  • EP + * = EP
  • Audiobook + * = Audiobook
  • Other + * = Other