https://picard.musicbrainz.org/docs/tags/ says that variable _ratings should have the MusicBrainz rating data.
but when I try to access the variable in a script that says for example
$set(my_rating,%_ratings%)
I get zippo, nada.
help? am I accessing this variable incorrectly? I don’t think so, if I do $set(my_rating,%_releasegroup%) I get “Back In Black” so I think that variable is just not being populated.
Is there anyway to get rating information from MusicBrainz using Picard?
I’ve tried _rating, _ratings, rating, ratings, musicbrainz_rating, _musicbrainz_rating all the reasonable permutations. I’m using Picard for Windows. Can you produce a meaningful result?
I’ve come across something like this before. There it was an issue in not displaying multiple ratings with different IDs, but it likely stems from the same issue: the rating field edit is put in the right-click menu rather than the bottom pane, and removing it from the latter had unexpected consequences. You can install the View Script Variables plugin and double-check yourself if you want, but I don’t remember seeing any rating variable on that list.
This does definitely seem like a bug, and if none of us submitted it before, then definitely go ahead. The one thing is that there isn’t much of a dev team per se, but mostly just volunteers who fix whatever catches their eye or their workflow. Submitting the report will certainly give it much more of a chance than otherwise, but it’s no promise on its own. Know any Python yourself?
Yes, setting the following script works for me and will show the my_rating tag in the bottom list for tracks that have a rating:
$set(my_rating,%_rating%)
Works also when loading the track you linked above as a non-album-track into Picard. What happens when you right click on a track? Does it show the rating stars filled up?
EDIT: I think I know what causes the issue Picard only uses your personal ratings, not community ratings. So if you have not rated a track yourself it will not add the ratings to the tags (you can however set the rating in Picard, and it also rate on musicbrainz.org). The idea was that a rating is a very personal view, and the fact that I find a certain song amazing probably has not much meaning to you. But having the option to use the community rating makes sense, of course.