rgain3 icon indicating copy to clipboard operation
rgain3 copied to clipboard

treat OPUS as OGG/don't use extension to determine file type

Open 2019-05-10 opened this issue 4 years ago • 3 comments

$ replaygain -d test.opus test.opus: not supported, ignoring it Checking for Replay Gain information ... Nothing to do.

rename file to test.ogg and it works:

$ replaygain -d test.ogg Checking for Replay Gain information ... test.ogg:none Calculating Replay Gain information ... test.ogg:4.49 dB Album gain: 4.49 dB Done

relying on file extensions has never been a reliable way to determine a file type.

2019-05-10 avatar Apr 20 '20 12:04 2019-05-10

Hi @2019-05-10 Thanks for reporting :)

relying on file extensions has never been a reliable way to determine a file type.

Since I took over the existing code base and ported it to Python 3, I only start improving it now. Your suggestion to determine the file type correctly seems to be a valid request.

chaudum avatar Apr 20 '20 19:04 chaudum

@2019-05-10 FYI, I just merged #22 into master

chaudum avatar Jul 13 '20 21:07 chaudum

Shouldn't this work already in 1.1.1? Cause here it doesn't:

$ replaygain *
a.opus: not supported, ignoring it
b.opus: not supported, ignoring it
Checking for Replay Gain information ...
Nothing to do.

calestyo avatar Apr 29 '22 04:04 calestyo