Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release Album Assignment Change #19

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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