-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
465 discogs: Fetch a few more metadata fields #3322
Conversation
Looks good at a high level so far! Can you please leave a comment with some background when you're ready for a review? |
Sure. So I'm grabbing the additional fields (release date, genre and release id) mentioned in the issue and storing them in the db. For the release I just extracted it from the URI. Genre behaves the same as style (for consistency) and just grabbing the release date. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK, cool! It looks like the three fields are genre
, discogs_release_id
, and released_date
.
genre
: Seems harmless enough! We already support this field.discogs_release_id
: This will be nice to have. Let's think carefully about consistent naming, however. The current MB equivalent is calledmb_albumid
. Would it make sense to use the same pattern, i.e.,discogs_albumid
? I don't feel strongly about any of this, but it's worth weighing. Also, I'm not certain this needs to be a built-in fixed field—maybe it's best left out of library.py if it's never going to have a metadata tag?released_date
: We already have release date information in theyear
,month
, andday
fields. Is this different information?
addressed your comments @sampsyo |
Awesome; thank you!! Merged with a changelog entry. ✨ |
465 discogs: Fetch a few more metadata fields
Based on my quick skimming of the code, it doesn’t seem like this stops writing Discogs ID(s) as MusicBrainz ones? Any chance you could fix that as well? 🙏 #604 |
You sure? When I import using discogs my files are tagged via discogs metadata values. I mean I see that correct values being added in my db |
No description provided.