Adding artist disambiguation because it's right beside name and sort-…#2
Adding artist disambiguation because it's right beside name and sort-…#2agh1467 wants to merge 1 commit intordswift:2.0from agh1467:2.0
Conversation
|
I like the idea, but I'm not sure that it will create the information that we would expect. For example, when processing release temp_dis_name = temp_std_name + (' ({0})'.format(artist_credit['artist']['disambiguation'],) if artist_credit['artist']['disambiguation'] else '')which would yield You might also want to add your name to the You should also include an update to the documentation file at https://github.com/rdswift/picard-plugins/blob/2.0_RDS_Plugins/plugins/additional_artists_variables/docs/README.md showing the new variables and how they would appear in the examples. This documentation file is linked to the entry on the https://picard.musicbrainz.org/plugins/ page. I suspect that will need to be on a different pull request because the documentation file is in a different branch. |
|
I took a look at that artist, and the disambiguation you've cited is correct as it's defined in the DB. An unusual one, but still correct. The code example you've provided adds more data onto the value than is there in the DB. This limits the usability of the variable significantly. If the user wants the artist name followed by the disambiguation surrounded by parenthesis, they can do this in the script. In fact I have done this exactly using this variable. That release is an interesting case because there are three artists. I'm not even sure how that would be handled in my file rename script. I can add myself to the author line if you would like. If you're interested in merging I can update the documentation as well. |
|
Can you explain the use case that you're trying to accommodate? From what I understand of your description so far, I can see value in having a variable containing only the disambiguation for the primary artist, and possibly a multi variable containing the disambiguations for all of the artists. What I don't see is any possible use for having a variable with just the disambiguations for all artists separated by the join phrases. What was your reasoning for this, or possible use case? As for adding your name, it might be best to add it to https://github.com/rdswift/picard-plugins/blob/2.0_RDS_Plugins/plugins/additional_artists_variables/docs/HISTORY.md instead. I just wanted to make sure that you were given credit for your work. When we do merge this, we should also update the version number to 0.6. Thanks. |
Just some additions to include artist disambiguation as well.