Skip to content

465 discogs: Fetch a few more metadata fields#3322

Merged
sampsyo merged 11 commits intobeetbox:masterfrom
thedevilisinthedetails:master
Jul 1, 2019
Merged

465 discogs: Fetch a few more metadata fields#3322
sampsyo merged 11 commits intobeetbox:masterfrom
thedevilisinthedetails:master

Conversation

@thedevilisinthedetails
Copy link
Copy Markdown

No description provided.

@sampsyo
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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?

@thedevilisinthedetails
Copy link
Copy Markdown
Author

addressed your comments @sampsyo

@sampsyo
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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