Skip to content

Conversation

@onelazydev
Copy link
Contributor

Previously, only an "Album" or "ClassicalAlbum" could be assigned to ddexReleaseAlbum within the SimpleAlbum class.

As per the Release Type List (https://kb.ddex.net/display/dsrf30avs/5.5+ReleaseType), that does not cover all instances of music.

At a minimum you would need Album, ClassicalAlbum and Single, however you also have to handle userDefined values too.

Given that DDEX state (https://kb.ddex.net/display/HBK/Release+Types+for+TrackReleases) that track releases must use TrackRelease on tracks within a release, it makes slightly more sense to flip the logic and apply the release status to the Release that is not TrackRelease.

Added a small test for UserDefined EP and all tests pass.

Previously, only an "Album" or "ClassicalAlbum" could be assigned to ddexReleaseAlbum within the SimpleAlbum class.

As per the Release Type List ( https://kb.ddex.net/display/dsrf30avs/5.5+ReleaseType ), that does not cover all instances of music.

At a minimum you would need Album, ClassicalAlbum and Single, however you also have to handle userDefined values too.

Given that DDEX state ( https://kb.ddex.net/display/HBK/Release+Types+for+TrackReleases ) that track releases must use TrackRelease on tracks within a release, it makes slightly more sense to flip the logic and apply the release status to the Release that is not TrackRelease.

Added a small test for UserDefined EP and all tests pass.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant