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

Handle artist MBIDs as multivalue tags #367

Merged
merged 1 commit into from
Feb 15, 2019

Conversation

Freso
Copy link
Member

@Freso Freso commented Feb 13, 2019

Instead of joining artist MBIDs with a ';' save them as multiple values to the tag. (This is how Picard saves that tag.)

Instead of joining artist MBIDs with a ';' save them as multiple values
to the tag. (This is how Picard saves that tag.)

Signed-off-by: Frederik “Freso” S. Olesen <freso.dk@gmail.com>
return self.joiner(lambda i: i.get('artist').get('id', None),
joinString=";")
joinString=";").split(';')
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is by far the easiest approach to do this. Otherwise the whole function needs a lot of refactoring.

@JoeLametta JoeLametta merged commit 79cb5ef into develop Feb 15, 2019
@JoeLametta JoeLametta deleted the feature/use-multivalue-artistid-tags branch February 15, 2019 17:44
@JoeLametta
Copy link
Collaborator

All right!

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.

2 participants