-
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
import.from_scratch clears the format
field => replaygain uses wrong tag format
#2972
Comments
I just noticed I have the option So reformulating the issue (GitHub does support changing the title, doesn't it? I'll try to update it accordingly…): ProblemWhen |
format
field => replaygain uses wrong tag format
Thank you for pointing this out! It does seem like the @tummychow implemented that option in #2755. Could you please take a look, @tummychow? |
When importing with the configuration option ``from_scratch`` set, only remove writable fields from library. E.g. keep fields like ``format`` and ``bitrate``. This fixes beetbox#2972.
Indeed; that looks like the right thing. |
from_scratch option: keep immutable fields (#2972)
Problem
original Problem:
All tracks in my library (Opus and FLAC) have
REPLAYGAIN_{ALBUM,TRACK}_{GAIN,PEAK}
tags and noR128_{ALBUM,TRACK}_GAIN
tags after runningbeet replaygain -a
, even the Opus files.I tried
gstreamer
andbs1770gain
replaygain backends.With
bs1770gain
I also tried explicitly settingmethod: ebu
. and settingr128: Opus FLAC
.Running this command in verbose (
-vv
) mode:Note the deprecation warnings mentioned in #2826 They go away when disabling plugins. And without plugins item.format is still
""
(see below), so I do not believe them to be the problem.Led to this problem:
Trying to analyse the problem
Adding some
print
statements toreplaygain
(cloned from master):item.field is the empty string.
Inserting a breakpoint into
list
to continue debugging without plugins:So the
MediaFile
correctly identifies the format, but it is never actually read.The
info
plugin usesMediaFile
directly:$ beet info LITE Cubic Else | grep format format: Opus
Problem
I was not able to find out where
format
is supposed to be read into the Item for use bylist
andreplaygain
. Could someone please provide a hint on that? I'd like to test if/where there is problem on my side.Setup
I observed the same symptom (no R128_* tags on Opus) with beets 1.4.6 (installed by Fedora's package manager).
Configuration without plugins
My configuration (output of
beet config
) is:Configuration (with bs1770 and explicit options)
My configuration (output of
beet config
) is:The text was updated successfully, but these errors were encountered: