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

465 discogs: Fetch a few more metadata fields #3322

Merged
merged 11 commits into from
Jul 1, 2019

Conversation

thedevilisinthedetails
Copy link

No description provided.

@sampsyo
Copy link
Member

sampsyo commented Jun 30, 2019

Looks good at a high level so far! Can you please leave a comment with some background when you're ready for a review?

@thedevilisinthedetails
Copy link
Author

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.

Copy link
Member

@sampsyo sampsyo left a 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 called mb_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 the year, month, and day fields. Is this different information?

beetsplug/discogs.py Outdated Show resolved Hide resolved
beetsplug/discogs.py Show resolved Hide resolved
@thedevilisinthedetails
Copy link
Author

addressed your comments @sampsyo

@sampsyo
Copy link
Member

sampsyo commented Jul 1, 2019

Awesome; thank you!! Merged with a changelog entry. ✨

@sampsyo sampsyo merged commit 1b41249 into beetbox:master Jul 1, 2019
sampsyo added a commit that referenced this pull request Jul 1, 2019
465 discogs: Fetch a few more metadata fields
sampsyo added a commit that referenced this pull request Jul 1, 2019
@Freso
Copy link
Member

Freso commented Oct 23, 2019

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

@thedevilisinthedetails
Copy link
Author

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

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.

3 participants