Do not delete the genres tag when musicbrainz.genres is False.#6513
Do not delete the genres tag when musicbrainz.genres is False.#6513djl wants to merge 1 commit intobeetbox:masterfrom
Conversation
2662d45 to
d5909b6
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #6513 +/- ##
==========================================
+ Coverage 70.40% 70.42% +0.02%
==========================================
Files 148 148
Lines 18806 18819 +13
Branches 3067 3071 +4
==========================================
+ Hits 13240 13253 +13
Misses 4916 4916
Partials 650 650
🚀 New features to boost your workflow:
|
Fixes beetbox#6403 This commit also introduces a way to explicitly exclude fields from being updated when mbsync runs.
d451c62 to
7668260
Compare
|
Given that the bug seems to stem from the |
|
Ah I didn't think about re-importing. That will still show the same issue. I'll move the fix over to the musicbrainz plugin. |
|
I had a look at the source code: it doesn't seem that Are you able to reproduce this issue when reimporting? |
|
So I think this happens because the Here I updated the musicbrainz plugin to set If this is an issue beyond just the musicbrainz plugin, my immediate thought for a solution would be to have a way for a metadata plugin to say "I have nothing for this field, use any existing data". Something other than And yes, this does happen on re-importing. |
|
What is your |
|
Given the configuration you shared in #6403 (comment), it's expected that |
|
There is an issue with master at the moment, related to the relative path changes: I'll try to find some time later today to debug this unless someone beats me to it. |
|
I've seen this before locally, but this only happened because I have manually rewritten my paths in the database as |
|
That was it. There were a handful of So explicitly setting |
|
That's so weird. I set my configuration to musicbrainz:
genres: falseand $ beet ls supermode 'tell me why' -f '$genres'
electronic; house
$ beet mbsync supermode 'tell me why' -p
57594 | 2006 / Tell Me Why: Supermode, Axwell & Steve Angello - Tell Me Why
albumartists:
- Supermode, Axwell & Steve Angello
albumartists_credit:
- Supermode, Axwell & Steve Angello
albumartists_sort:
- Supermode, Axwell & Angello, Steve
artists:
- Supermode, Axwell & Steve Angello
artists_credit:
- Supermode, Axwell & Steve Angello
artists_sort:
- Supermode, Axwell & Angello, Steve
country: SE -> XW |
|
Can you double-check the data source for those items? |
|
Data source seems fine to me: |
|
Aha! So it's I think if I remove the genre specific code from this pull request and just leave the |
|
Ah that makes sense. I don't think any of the changes in this PR are required if you remove |
|
Won't that result in some metadata being left around after re-importing? Or does |
|
|
|
That looks like what I need then. Thanks! |
Description
Fixes #6403
This commit also introduces a way to explicitly exclude fields from being updated when mbsync runs.
To Do
docs/to describe it.)docs/changelog.rstto the bottom of one of the lists near the top of the document.)