python-rgain (replaygain) fails when no ID3 tag is present
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
rgain (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
lsb_release -rd
Description: Ubuntu 14.04.4 LTS
Release: 14.04
apt-cache policy python-rgain
python-rgain:
Installiert: 1.2-1
Installations
Hi,
a [replaygain --show file] by files without id3-Tag reports the Error, that is no ID3-Tag is present:
replaygain --show test.mp3
test.mp3
<Error reading Replay Gain: ID3NoHeaderErro
By trying to write a replay gain value, the full python stack trace is shown:
$ replaygain -f --no-album test.mp3
Calculating Replay Gain information ...
test.mp3: -3.85 dB
Writing Replay Gain information to files ...
test.mp3:
Traceback (most recent call last):
File "/usr/lib/
formats_
File "/usr/lib/
accessor[
File "/usr/lib/
mp3_
File "/usr/lib/
tags = ID3(filename)
File "/usr/lib/
super(ID3, self)._
File "/usr/lib/
super(
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
raise ID3NoHeaderErro
ID3NoHeaderError: 'test.mp3' doesn't start with an ID3 tag
I think, it there be good, if in such a case python-rgain writes the id3-Tag before storing the replay gain value, or give a defined error.
This bug is also reported here:
https:/
It may be an alternative to take mp3gain in the repos until this bug is fixed?
It affects ubuntu 14.4/16.4
Version of rgain in 14.4 is replaygain 1.2
Regards