-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Updates "r128_album_gain: 000000 -> 000000" With or without replaygain plugin #3049
Comments
Hi! Can you please try turning off the Does this only happen to ogg files, or do other files (FLAC, MP3, etc.) have the same problem? |
I've tried turning all the plugins off, I still get the same issue. My whole library is ogg/opus, I've just added a couple mp3s but cant update yet as it just skips because mtime is up to date (1539261233.0). Any idea how to force an update? |
I don't actually know how |
Managed to get there, just added a few more tracks and it managed to update. So first off it updated as expected adding fingerprints etc. However it didnt touch the replaygain tags according to the logs. On second run though the same happens and this is with mp3 This is with plugins btw (original config minus the convert plugin"
Plugins off
|
Weird! I'm having trouble reproducing anything like this on my machine. It seems like this is only happening for the album version of the gain fields. Are the track-level RG fields correctly set? (Are you doing per-album or per-track analysis?) |
This has been happening for me, too, but with Re-importing or running
I've never used the replaygain plugin so this is fairly unexpected. |
Happens to me with beet import using gstreamer as backend. Removed all RG tags before import, imported flac have 0 for R128_albumand R128_track while all four REPLAYGAIN_ tags contain values |
This just started happening to me too. Every single 'beet update' leads to 'r128_album_gain: 000000 -> 000000' for a ton of music. Doesn't do it to every file, but it changes which ones it does it to each update. It's doing it on a song level for me, not just album. |
The problem seems to be the |
Hmm… do you think you could expand on that a little more? When we detect the difference between the value in the tags and in the database, are they not both |
One is
|
@djl, it's kind of weird that |
Ah I didn't notice that it's |
So you're still seeing the issue even on |
Correct. Although I'm seeing this on |
That's odd. So the database is storing 0, while it should store None instead… what happens if you try to "null out" that field with |
That fixes the value in the database - it's now A couple of days ago I ran
Just over half. So I have a ton of test cases available for debugging 😄 |
Wow; that's odd! I think the most useful thing to do with your trove of test cases is to ask how they got that way—can you see a pattern that would explain the difference between the two groups? Or perhaps even more relevantly, do you know what happens to new tracks that you import? |
There's defintely a pattern. Like I said previously anything that modifies existing tracks, such as Here's an example from just now. I just ran
Nothing. Newly imported files are not affected. |
Got it; sorry I missed that! I am still pretty mystified about why something as benign-seeming as |
Oh, I think I see the problem with Before I submit a pull request, can someone confirm that this makes sense? |
Scratch that.
When I get some time, I'm going to run |
I may have figured it out for real this time. The I've opened a pull request for review and testing. |
Oh wow!! That would indeed be quite a problem. 😱 Thank you for tracking that down! |
PR merged. If someone else who was having this issue could check the latest master, I'd appreciate it! |
Let's call this done unless evidence emerges to the contrary! |
Is this supposed to work in beets 1.4.9? I am getting the 0-value EDIT: Sorry, too hasty.. it outputs the familiar 000000 -> 000000, but does remove the tag from the file. |
Problem
Running beets update leeds to the r128 tags been updated to 000000 even if its already at 000000. If I run the replaygain plugin manually this tag is updated correctly, only to be wiped again when beet update is run.
Running this command in verbose (
-vv
) mode:Led to this problem:
(Happens to all my music)
Setup
My configuration (output of
beet config
) is:The text was updated successfully, but these errors were encountered: