https://bugs.kde.org/show_bug.cgi?id=443519

--- Comment #5 from Brendon Higgins <bren...@quantumfurball.net> ---
I wouldn't expect to have time to get as far as a merge request, but I can
probably do more sleuthing. I just took another dive into the code and found
that the likely extractor is the one based on Taglib. So I installed pytaglib
and tried to open the file. In python3:

>>> import taglib
>>> song = taglib.File("/home/brendon/media/music/cds/Audioslave/Audioslave/01. 
>>> Cochise.ogg")
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "src/taglib.pyx", line 87, in taglib.File.__cinit__
OSError: Could not read file
/home/brendon/media/music/cds/Audioslave/Audioslave/01. Cochise.ogg

Well, I'm pretty sure I didn't get the path wrong. I tried renaming the same
file to ".opus", and then:

>>> song = taglib.File("/home/brendon/media/music/cds/Audioslave/Audioslave/01. 
>>> Cochise.opus")
>>> song.tags
{'ALBUM': ['Audioslave'], 'ARTIST': ['Audioslave'], 'COMPILATION': ['false'],
'DATE': ['2002'], 'ENCODER': ['opusenc from opus-tools 0.1.10'],
'ENCODER_OPTIONS': ['--bitrate 128'], 'TITLE': ['Cochise'], 'TRACKNUMBER':
['01']}

So, if I'm not mistaken, conclusion is this is a bug in Taglib.

Looking through the Taglib Github issues page, I found this:
https://github.com/taglib/taglib/pull/1013
Judging by the dates, the fix has been in master for over a year, but no stable
release in that time...

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to