dhamaniasad / mutagen

Automatically exported from code.google.com/p/mutagen
GNU General Public License v2.0
2 stars 1 forks source link

Errors with opus files previously tagged with picard/mutagen #178

Open iconoclasthero opened 9 months ago

iconoclasthero commented 9 months ago

While only importing the data from a music library with ca. 60,000 items, mostly flac and mp3, beets threw "unreadable" errors for otherwise-playable opus files, at least some of which were tagged by picard (and thus were handled by muragen) less than a year ago. (NB: I've been using the dev channel of picard for at least that long.)

Narrowing down to a single album for testing purposes, I have the 10-track James McMurtry - Saint Mary of the Woods that has a time stamp of 2023-03-25 (alias mi='mediainfo'):

$ mi James\ McMurtry\ --\ 01\ -\ Dry\ River.opus 
General
Complete name                            : James McMurtry -- 01 - Dry River.opus
Format                                   : Ogg
File size                                : 3.89 MiB
Duration                                 : 5 min 2 s
Overall bit rate                         : 108 kb/s
Album                                    : Saint Mary of the Woods
Album/Performer                          : James McMurtry
Part                                     : 1
Part/Total                               : 1
Track name                               : Dry River
Track name/Position                      : 01
Track name/Total                         : 10
Performer                                : James McMurtry
Label                                    : Sugar Hill Records
Genre                                    : Rock
Recorded date                            : 2006
Writing application                      : Lavc58.35.100 libopus
ISRC                                     : USSH50287239
Cover                                    : Yes
Lyrics                                   : <script>(Function() {var Opts = {artist: "James Mcmurtry",Song: "Dry River",Adunit Id: 39382076,Div Id: "Cf Async " + Math.Floor((Math.Random() * 999999999))};if($('.Articlepreview').Length == 0){document.Write('');var C=function(){cf.Showasyncad(Opts)};if(Window.Cf)C();else{cf Async=!0;var R=document.Createelement("Script"),S=document.Getelementsbytagname("Script")[0];r.Async=!0;r.Src="//Srv.Tonefuse.Com/Showads/Showad.Js";r.Readystate?R.Onreadystatechange=function(){if("Loaded"==r.Readystate||"Complete"==r.Readystate)R.Onreadystatechange=null,C()}:r.Onload=c;s.Parentnode.Insertbefore(R,S)};}})();</Script>mcmurtry-Alvin /  / I Was Born By A River That Was Paved With Cement / I Was Born By A River That Was Paved With Cement / Still I'd Stand Out In That River And Dream That I Was Soaking Wet. /  / Someday It's Gonna Rain / Someday It's Gonna Pour / Someday That Old Dry Riverwon't Be Dry Anymore. /  / I Played In The Orange Groves 'til They Bulldozed The Trees / I Played In The Orange Groves 'til They Bulldozed The Trees / Still I'd Stand Out In Those Dead Stumps And Smell The Blossoms On The Leaves. /  / Some Day It's Gonna Rain / Someday It's Gonna Pour / Someday Those Old Dead Trees Won't Be Dead Anymore. /  / I Fell In Love With A Woman But She Did Not Love Me / I Fell In Love With A Woman But She Did Not Love Me / Now I'm As Dry As That Old River And Just As Dead As Those Old Trees. /  / Someday It's Gonna Rain / Someday It's Gonna Pour / Someday This Old Heart Of Mine's Gonna Fall In Love Once More. /  / Someday It's Gonna Rain / Someday It's Gonna Pour / Someday That Old Dry River Won't Be Dry Anymore.
ARTISTSORT                               : McMurtry, James
ALBUMARTISTSORT                          : McMurtry, James
MUSICBRAINZ_RELEASEGROUPID               : 3e8a52b9-293d-3e95-b06e-e3e09e465eda
ORIGINALDATE                             : 2002-09-17
ORIGINALYEAR                             : 2002
RELEASETYPE                              : album
SCRIPT                                   : Latn
RELEASESTATUS                            : official
BARCODE                                  : 00015891107158
RELEASECOUNTRY                           : AS
MEDIA                                    : Digital Media
ARTISTS                                  : James McMurtry
MUSICBRAINZ_RELEASETRACKID               : ca693cf1-4bfe-43cd-965c-b527e0899a16

Audio
ID                                       : 2439574929 (0x9168F591)
Format                                   : Opus
Duration                                 : 5 min 2 s
Channel(s)                               : 2 channels
Channel layout                           : L R
Sampling rate                            : 48.0 kHz
Compression mode                         : Lossy
Writing library                          : Lavf58.20.100

Now mutagen (via picard and beets) reject the files on this album, but vlc plays it as is, ffprobe reports no problems, and ffmpeg -acodec copy copies it to a .opus file that mutagen does recognize...

iconoclasthero commented 9 months ago
$ pip install mutagen
Requirement already satisfied: mutagen in /usr/local/lib/python3.10/dist-packages/mutagen-1.46.1-py3.10.egg (1.46.1)
pwd: /library/music/James McMurtry/James McMurtry -- Saint Mary of the Woods (2002) (mp3)  
$ picard ./*opus &
[1] 3669763
I: 19:16:55,332 tagger.main:1546: Sending messages to main instance: ['LOAD /library/music/James McMurtry/James McMurtry -- Saint Mary of the Woods (2002) (mp3)/James McMurtry -- 01 - Dry River.opus', 'LOAD /library/music/James McMurtry/James McMurtry -- Saint Mary of the Woods (2002) (mp3)/James McMurtry -- 02 - Valley Road.opus', 'LOAD /library/music/James McMurtry/James McMurtry -- Saint Mary of the Woods (2002) (mp3)/James McMurtry -- 03 - Saint Mary of the Woods.opus', 'LOAD /library/music/James McMurtry/James McMurtry -- Saint Mary of the Woods (2002) (mp3)/James McMurtry -- 04 - Out Here in the Middle.opus', 'LOAD /library/music/James McMurtry/James McMurtry -- Saint Mary of the Woods (2002) (mp3)/James McMurtry -- 05 - Lobo Town.opus', 'LOAD /library/music/James McMurtry/James McMurtry -- Saint Mary of the Woods (2002) (mp3)/James McMurtry -- 06 - Broken Bed.opus', 'LOAD /library/music/James McMurtry/James McMurtry -- Saint Mary of the Woods (2002) (mp3)/James McMurtry -- 07 - Red Dress.opus', 'LOAD /library/music/James McMurtry/James McMurtry -- Saint Mary of the Woods (2002) (mp3)/James McMurtry -- 08 - Gulf Road.opus', 'LOAD /library/music/James McMurtry/James McMurtry -- Saint Mary of the Woods (2002) (mp3)/James McMurtry -- 09 - Gone to the Y.opus', 'LOAD /library/music/James McMurtry/James McMurtry -- Saint Mary of the Woods (2002) (mp3)/James McMurtry -- 10 - Choctaw Bingo.opus']
W: 19:16:57,061 pluginmanager.plugin_error:229: Plugin "Add Cluster As Release" from "$HOME/.config/MusicBrainz/Picard/plugins/addrelease.py" is not compatible with this version of Picard.
E: 19:16:59,001 util/thread.run:69: Traceback (most recent call last):
  File "/usr/local/lib/python3.10/dist-packages/mutagen-1.46.1-py3.10.egg/mutagen/ogg.py", line 533, in load
    self.info = self._Info(fileobj)
  File "/usr/local/lib/python3.10/dist-packages/mutagen-1.46.1-py3.10.egg/mutagen/oggopus.py", line 50, in __init__
    page = OggPage(fileobj)
  File "/usr/local/lib/python3.10/dist-packages/mutagen-1.46.1-py3.10.egg/mutagen/ogg.py", line 95, in __init__
    raise error("read %r, expected %r, at 0x%x" % (
mutagen.ogg.error: read b'ID3\x04', expected b'OggS', at 0x0

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/picard/picard/util/thread.py", line 66, in run
    result = self.func()
  File "/usr/lib/picard/picard/file.py", line 240, in _load_check
    return self._load(filename)
  File "/usr/lib/picard/picard/formats/vorbis.py", line 136, in _load
    file = self._File(encode_filename(filename))
  File "/usr/local/lib/python3.10/dist-packages/mutagen-1.46.1-py3.10.egg/mutagen/_file.py", line 47, in __init__
    self.load(*args, **kwargs)
  File "/usr/local/lib/python3.10/dist-packages/mutagen-1.46.1-py3.10.egg/mutagen/_util.py", line 155, in wrapper
    return func(self, h, *args, **kwargs)
  File "/usr/local/lib/python3.10/dist-packages/mutagen-1.46.1-py3.10.egg/mutagen/ogg.py", line 537, in load
    reraise(self._Error, e, sys.exc_info()[2])
  File "/usr/local/lib/python3.10/dist-packages/mutagen-1.46.1-py3.10.egg/mutagen/_util.py", line 42, in reraise
    raise tp(value).with_traceback(tb)
  File "/usr/local/lib/python3.10/dist-packages/mutagen-1.46.1-py3.10.egg/mutagen/ogg.py", line 533, in load
    self.info = self._Info(fileobj)
  File "/usr/local/lib/python3.10/dist-packages/mutagen-1.46.1-py3.10.egg/mutagen/oggopus.py", line 50, in __init__
    page = OggPage(fileobj)
  File "/usr/local/lib/python3.10/dist-packages/mutagen-1.46.1-py3.10.egg/mutagen/ogg.py", line 95, in __init__
    raise error("read %r, expected %r, at 0x%x" % (
mutagen.oggopus.OggOpusHeaderError: read b'ID3\x04', expected b'OggS', at 0x0

E: 19:16:59,007 ui/item.error_append:108: <OggOpusFile 'James McMurtry -- 01 - Dry River.opus'>: The file failed to parse, either the file is damaged or has an unsupported file format.
E: 19:16:59,008 ui/item.error_append:108: <OggOpusFile 'James McMurtry -- 01 - Dry River.opus'>: read b'ID3\x04', expected b'OggS', at 0x0
E: 19:16:59,034 util/thread.run:69: Traceback (most recent call last):
  File "/usr/lib/picard/picard/util/thread.py", line 66, in run
    result = self.func()
  File "/usr/lib/picard/picard/file.py", line 240, in _load_check
    return self._load(filename)
  File "/usr/lib/picard/picard/formats/id3.py", line 249, in _load
    file = self._get_file(encode_filename(filename))
  File "/usr/lib/picard/picard/formats/id3.py", line 697, in _get_file
    return self._File(filename, ID3=compatid3.CompatID3)
  File "/usr/local/lib/python3.10/dist-packages/mutagen-1.46.1-py3.10.egg/mutagen/_file.py", line 47, in __init__
    self.load(*args, **kwargs)
  File "/usr/local/lib/python3.10/dist-packages/mutagen-1.46.1-py3.10.egg/mutagen/_util.py", line 155, in wrapper
    return func(self, h, *args, **kwargs)
  File "/usr/local/lib/python3.10/dist-packages/mutagen-1.46.1-py3.10.egg/mutagen/id3/_file.py", line 420, in load
    self.info = self._Info(fileobj, offset)
  File "/usr/local/lib/python3.10/dist-packages/mutagen-1.46.1-py3.10.egg/mutagen/_util.py", line 184, in wrapper
    return func(*args, **kwargs)
  File "/usr/local/lib/python3.10/dist-packages/mutagen-1.46.1-py3.10.egg/mutagen/mp3/__init__.py", line 401, in __init__
    raise HeaderNotFoundError("can't sync to MPEG frame")
mutagen.mp3.HeaderNotFoundError: can't sync to MPEG frame

E: 19:16:59,035 ui/item.error_append:108: <MP3File 'James McMurtry -- 01 - Dry River.opus'>: The file failed to parse, either the file is damaged or has an unsupported file format.
E: 19:16:59,035 ui/item.error_append:108: <MP3File 'James McMurtry -- 01 - Dry River.opus'>: can't sync to MPEG frame
E: 19:16:59,721 util/thread.run:69: Traceback (most recent call last):
  File "/usr/local/lib/python3.10/dist-packages/mutagen-1.46.1-py3.10.egg/mutagen/ogg.py", line 533, in load
    self.info = self._Info(fileobj)
  File "/usr/local/lib/python3.10/dist-packages/mutagen-1.46.1-py3.10.egg/mutagen/oggopus.py", line 50, in __init__
    page = OggPage(fileobj)
  File "/usr/local/lib/python3.10/dist-packages/mutagen-1.46.1-py3.10.egg/mutagen/ogg.py", line 95, in __init__
    raise error("read %r, expected %r, at 0x%x" % (
mutagen.ogg.error: read b'ID3\x04', expected b'OggS', at 0x0

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/picard/picard/util/thread.py", line 66, in run
    result = self.func()
  File "/usr/lib/picard/picard/file.py", line 240, in _load_check
    return self._load(filename)
  File "/usr/lib/picard/picard/formats/vorbis.py", line 136, in _load
    file = self._File(encode_filename(filename))
  File "/usr/local/lib/python3.10/dist-packages/mutagen-1.46.1-py3.10.egg/mutagen/_file.py", line 47, in __init__
    self.load(*args, **kwargs)
  File "/usr/local/lib/python3.10/dist-packages/mutagen-1.46.1-py3.10.egg/mutagen/_util.py", line 155, in wrapper
    return func(self, h, *args, **kwargs)
  File "/usr/local/lib/python3.10/dist-packages/mutagen-1.46.1-py3.10.egg/mutagen/ogg.py", line 537, in load
    reraise(self._Error, e, sys.exc_info()[2])
  File "/usr/local/lib/python3.10/dist-packages/mutagen-1.46.1-py3.10.egg/mutagen/_util.py", line 42, in reraise
    raise tp(value).with_traceback(tb)
  File "/usr/local/lib/python3.10/dist-packages/mutagen-1.46.1-py3.10.egg/mutagen/ogg.py", line 533, in load
    self.info = self._Info(fileobj)
  File "/usr/local/lib/python3.10/dist-packages/mutagen-1.46.1-py3.10.egg/mutagen/oggopus.py", line 50, in __init__
    page = OggPage(fileobj)
  File "/usr/local/lib/python3.10/dist-packages/mutagen-1.46.1-py3.10.egg/mutagen/ogg.py", line 95, in __init__
    raise error("read %r, expected %r, at 0x%x" % (
mutagen.oggopus.OggOpusHeaderError: read b'ID3\x04', expected b'OggS', at 0x0

E: 19:16:59,722 ui/item.error_append:108: <OggOpusFile 'James McMurtry -- 02 - Valley Road.opus'>: The file failed to parse, either the file is damaged or has an unsupported file format.
E: 19:16:59,722 ui/item.error_append:108: <OggOpusFile 'James McMurtry -- 02 - Valley Road.opus'>: read b'ID3\x04', expected b'OggS', at 0x0
E: 19:16:59,745 util/thread.run:69: Traceback (most recent call last):
  File "/usr/lib/picard/picard/util/thread.py", line 66, in run
    result = self.func()
  File "/usr/lib/picard/picard/file.py", line 240, in _load_check
    return self._load(filename)
  File "/usr/lib/picard/picard/formats/id3.py", line 249, in _load
    file = self._get_file(encode_filename(filename))
  File "/usr/lib/picard/picard/formats/id3.py", line 697, in _get_file
    return self._File(filename, ID3=compatid3.CompatID3)
  File "/usr/local/lib/python3.10/dist-packages/mutagen-1.46.1-py3.10.egg/mutagen/_file.py", line 47, in __init__
    self.load(*args, **kwargs)
  File "/usr/local/lib/python3.10/dist-packages/mutagen-1.46.1-py3.10.egg/mutagen/_util.py", line 155, in wrapper
    return func(self, h, *args, **kwargs)
  File "/usr/local/lib/python3.10/dist-packages/mutagen-1.46.1-py3.10.egg/mutagen/id3/_file.py", line 420, in load
    self.info = self._Info(fileobj, offset)
  File "/usr/local/lib/python3.10/dist-packages/mutagen-1.46.1-py3.10.egg/mutagen/_util.py", line 184, in wrapper
    return func(*args, **kwargs)
  File "/usr/local/lib/python3.10/dist-packages/mutagen-1.46.1-py3.10.egg/mutagen/mp3/__init__.py", line 401, in __init__
    raise HeaderNotFoundError("can't sync to MPEG frame")
mutagen.mp3.HeaderNotFoundError: can't sync to MPEG frame

E: 19:16:59,745 ui/item.error_append:108: <MP3File 'James McMurtry -- 02 - Valley Road.opus'>: The file failed to parse, either the file is damaged or has an unsupported file format.
E: 19:16:59,745 ui/item.error_append:108: <MP3File 'James McMurtry -- 02 - Valley Road.opus'>: can't sync to MPEG frame
E: 19:16:59,841 util/thread.run:69: Traceback (most recent call last):
  File "/usr/local/lib/python3.10/dist-packages/mutagen-1.46.1-py3.10.egg/mutagen/ogg.py", line 533, in load
    self.info = self._Info(fileobj)
  File "/usr/local/lib/python3.10/dist-packages/mutagen-1.46.1-py3.10.egg/mutagen/oggopus.py", line 50, in __init__
    page = OggPage(fileobj)
  File "/usr/local/lib/python3.10/dist-packages/mutagen-1.46.1-py3.10.egg/mutagen/ogg.py", line 95, in __init__
    raise error("read %r, expected %r, at 0x%x" % (
mutagen.ogg.error: read b'ID3\x04', expected b'OggS', at 0x0

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/picard/picard/util/thread.py", line 66, in run
    result = self.func()
  File "/usr/lib/picard/picard/file.py", line 240, in _load_check
    return self._load(filename)
  File "/usr/lib/picard/picard/formats/vorbis.py", line 136, in _load
    file = self._File(encode_filename(filename))
  File "/usr/local/lib/python3.10/dist-packages/mutagen-1.46.1-py3.10.egg/mutagen/_file.py", line 47, in __init__
    self.load(*args, **kwargs)
  File "/usr/local/lib/python3.10/dist-packages/mutagen-1.46.1-py3.10.egg/mutagen/_util.py", line 155, in wrapper
    return func(self, h, *args, **kwargs)
  File "/usr/local/lib/python3.10/dist-packages/mutagen-1.46.1-py3.10.egg/mutagen/ogg.py", line 537, in load
    reraise(self._Error, e, sys.exc_info()[2])
  File "/usr/local/lib/python3.10/dist-packages/mutagen-1.46.1-py3.10.egg/mutagen/_util.py", line 42, in reraise
    raise tp(value).with_traceback(tb)
  File "/usr/local/lib/python3.10/dist-packages/mutagen-1.46.1-py3.10.egg/mutagen/ogg.py", line 533, in load
    self.info = self._Info(fileobj)
  File "/usr/local/lib/python3.10/dist-packages/mutagen-1.46.1-py3.10.egg/mutagen/oggopus.py", line 50, in __init__
    page = OggPage(fileobj)
  File "/usr/local/lib/python3.10/dist-packages/mutagen-1.46.1-py3.10.egg/mutagen/ogg.py", line 95, in __init__
    raise error("read %r, expected %r, at 0x%x" % (
mutagen.oggopus.OggOpusHeaderError: read b'ID3\x04', expected b'OggS', at 0x0

E: 19:16:59,842 ui/item.error_append:108: <OggOpusFile 'James McMurtry -- 03 - Saint Mary of the Woods.opus'>: The file failed to parse, either the file is damaged or has an unsupported file format.
E: 19:16:59,842 ui/item.error_append:108: <OggOpusFile 'James McMurtry -- 03 - Saint Mary of the Woods.opus'>: read b'ID3\x04', expected b'OggS', at 0x0
E: 19:16:59,869 util/thread.run:69: Traceback (most recent call last):
  File "/usr/lib/picard/picard/util/thread.py", line 66, in run
    result = self.func()
  File "/usr/lib/picard/picard/file.py", line 240, in _load_check
    return self._load(filename)
  File "/usr/lib/picard/picard/formats/id3.py", line 249, in _load
    file = self._get_file(encode_filename(filename))
  File "/usr/lib/picard/picard/formats/id3.py", line 697, in _get_file
    return self._File(filename, ID3=compatid3.CompatID3)
  File "/usr/local/lib/python3.10/dist-packages/mutagen-1.46.1-py3.10.egg/mutagen/_file.py", line 47, in __init__
    self.load(*args, **kwargs)
  File "/usr/local/lib/python3.10/dist-packages/mutagen-1.46.1-py3.10.egg/mutagen/_util.py", line 155, in wrapper
    return func(self, h, *args, **kwargs)
  File "/usr/local/lib/python3.10/dist-packages/mutagen-1.46.1-py3.10.egg/mutagen/id3/_file.py", line 420, in load
    self.info = self._Info(fileobj, offset)
  File "/usr/local/lib/python3.10/dist-packages/mutagen-1.46.1-py3.10.egg/mutagen/_util.py", line 184, in wrapper
    return func(*args, **kwargs)
  File "/usr/local/lib/python3.10/dist-packages/mutagen-1.46.1-py3.10.egg/mutagen/mp3/__init__.py", line 401, in __init__
    raise HeaderNotFoundError("can't sync to MPEG frame")
mutagen.mp3.HeaderNotFoundError: can't sync to MPEG frame

E: 19:16:59,869 ui/item.error_append:108: <MP3File 'James McMurtry -- 03 - Saint Mary of the Woods.opus'>: The file failed to parse, either the file is damaged or has an unsupported file format.
E: 19:16:59,869 ui/item.error_append:108: <MP3File 'James McMurtry -- 03 - Saint Mary of the Woods.opus'>: can't sync to MPEG frame
E: 19:17:00,040 util/thread.run:69: Traceback (most recent call last):
  File "/usr/local/lib/python3.10/dist-packages/mutagen-1.46.1-py3.10.egg/mutagen/ogg.py", line 533, in load
    self.info = self._Info(fileobj)
  File "/usr/local/lib/python3.10/dist-packages/mutagen-1.46.1-py3.10.egg/mutagen/oggopus.py", line 50, in __init__
    page = OggPage(fileobj)
  File "/usr/local/lib/python3.10/dist-packages/mutagen-1.46.1-py3.10.egg/mutagen/ogg.py", line 95, in __init__
    raise error("read %r, expected %r, at 0x%x" % (
mutagen.ogg.error: read b'ID3\x04', expected b'OggS', at 0x0

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/picard/picard/util/thread.py", line 66, in run
    result = self.func()
  File "/usr/lib/picard/picard/file.py", line 240, in _load_check
    return self._load(filename)
  File "/usr/lib/picard/picard/formats/vorbis.py", line 136, in _load
    file = self._File(encode_filename(filename))
  File "/usr/local/lib/python3.10/dist-packages/mutagen-1.46.1-py3.10.egg/mutagen/_file.py", line 47, in __init__
    self.load(*args, **kwargs)
  File "/usr/local/lib/python3.10/dist-packages/mutagen-1.46.1-py3.10.egg/mutagen/_util.py", line 155, in wrapper
    return func(self, h, *args, **kwargs)
  File "/usr/local/lib/python3.10/dist-packages/mutagen-1.46.1-py3.10.egg/mutagen/ogg.py", line 537, in load
    reraise(self._Error, e, sys.exc_info()[2])
  File "/usr/local/lib/python3.10/dist-packages/mutagen-1.46.1-py3.10.egg/mutagen/_util.py", line 42, in reraise
    raise tp(value).with_traceback(tb)
  File "/usr/local/lib/python3.10/dist-packages/mutagen-1.46.1-py3.10.egg/mutagen/ogg.py", line 533, in load
    self.info = self._Info(fileobj)
  File "/usr/local/lib/python3.10/dist-packages/mutagen-1.46.1-py3.10.egg/mutagen/oggopus.py", line 50, in __init__
    page = OggPage(fileobj)
  File "/usr/local/lib/python3.10/dist-packages/mutagen-1.46.1-py3.10.egg/mutagen/ogg.py", line 95, in __init__
    raise error("read %r, expected %r, at 0x%x" % (
mutagen.oggopus.OggOpusHeaderError: read b'ID3\x04', expected b'OggS', at 0x0

E: 19:17:00,040 ui/item.error_append:108: <OggOpusFile 'James McMurtry -- 04 - Out Here in the Middle.opus'>: The file failed to parse, either the file is damaged or has an unsupported file format.
E: 19:17:00,041 ui/item.error_append:108: <OggOpusFile 'James McMurtry -- 04 - Out Here in the Middle.opus'>: read b'ID3\x04', expected b'OggS', at 0x0
E: 19:17:00,065 util/thread.run:69: Traceback (most recent call last):
  File "/usr/lib/picard/picard/util/thread.py", line 66, in run
    result = self.func()
  File "/usr/lib/picard/picard/file.py", line 240, in _load_check
    return self._load(filename)
  File "/usr/lib/picard/picard/formats/id3.py", line 249, in _load
    file = self._get_file(encode_filename(filename))
  File "/usr/lib/picard/picard/formats/id3.py", line 697, in _get_file
    return self._File(filename, ID3=compatid3.CompatID3)
  File "/usr/local/lib/python3.10/dist-packages/mutagen-1.46.1-py3.10.egg/mutagen/_file.py", line 47, in __init__
    self.load(*args, **kwargs)
  File "/usr/local/lib/python3.10/dist-packages/mutagen-1.46.1-py3.10.egg/mutagen/_util.py", line 155, in wrapper
    return func(self, h, *args, **kwargs)
  File "/usr/local/lib/python3.10/dist-packages/mutagen-1.46.1-py3.10.egg/mutagen/id3/_file.py", line 420, in load
    self.info = self._Info(fileobj, offset)
  File "/usr/local/lib/python3.10/dist-packages/mutagen-1.46.1-py3.10.egg/mutagen/_util.py", line 184, in wrapper
    return func(*args, **kwargs)
  File "/usr/local/lib/python3.10/dist-packages/mutagen-1.46.1-py3.10.egg/mutagen/mp3/__init__.py", line 401, in __init__
    raise HeaderNotFoundError("can't sync to MPEG frame")
mutagen.mp3.HeaderNotFoundError: can't sync to MPEG frame

E: 19:17:00,066 ui/item.error_append:108: <MP3File 'James McMurtry -- 04 - Out Here in the Middle.opus'>: The file failed to parse, either the file is damaged or has an unsupported file format.
E: 19:17:00,066 ui/item.error_append:108: <MP3File 'James McMurtry -- 04 - Out Here in the Middle.opus'>: can't sync to MPEG frame
E: 19:17:00,511 util/thread.run:69: Traceback (most recent call last):
  File "/usr/local/lib/python3.10/dist-packages/mutagen-1.46.1-py3.10.egg/mutagen/ogg.py", line 533, in load
    self.info = self._Info(fileobj)
  File "/usr/local/lib/python3.10/dist-packages/mutagen-1.46.1-py3.10.egg/mutagen/oggopus.py", line 50, in __init__
    page = OggPage(fileobj)
  File "/usr/local/lib/python3.10/dist-packages/mutagen-1.46.1-py3.10.egg/mutagen/ogg.py", line 95, in __init__
    raise error("read %r, expected %r, at 0x%x" % (
mutagen.ogg.error: read b'ID3\x04', expected b'OggS', at 0x0

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/picard/picard/util/thread.py", line 66, in run
    result = self.func()
  File "/usr/lib/picard/picard/file.py", line 240, in _load_check
    return self._load(filename)
  File "/usr/lib/picard/picard/formats/vorbis.py", line 136, in _load
    file = self._File(encode_filename(filename))
  File "/usr/local/lib/python3.10/dist-packages/mutagen-1.46.1-py3.10.egg/mutagen/_file.py", line 47, in __init__
    self.load(*args, **kwargs)
  File "/usr/local/lib/python3.10/dist-packages/mutagen-1.46.1-py3.10.egg/mutagen/_util.py", line 155, in wrapper
    return func(self, h, *args, **kwargs)
  File "/usr/local/lib/python3.10/dist-packages/mutagen-1.46.1-py3.10.egg/mutagen/ogg.py", line 537, in load
    reraise(self._Error, e, sys.exc_info()[2])
  File "/usr/local/lib/python3.10/dist-packages/mutagen-1.46.1-py3.10.egg/mutagen/_util.py", line 42, in reraise
    raise tp(value).with_traceback(tb)
  File "/usr/local/lib/python3.10/dist-packages/mutagen-1.46.1-py3.10.egg/mutagen/ogg.py", line 533, in load
    self.info = self._Info(fileobj)
  File "/usr/local/lib/python3.10/dist-packages/mutagen-1.46.1-py3.10.egg/mutagen/oggopus.py", line 50, in __init__
    page = OggPage(fileobj)
  File "/usr/local/lib/python3.10/dist-packages/mutagen-1.46.1-py3.10.egg/mutagen/ogg.py", line 95, in __init__
    raise error("read %r, expected %r, at 0x%x" % (
mutagen.oggopus.OggOpusHeaderError: read b'ID3\x04', expected b'OggS', at 0x0

E: 19:17:00,524 ui/item.error_append:108: <OggOpusFile 'James McMurtry -- 05 - Lobo Town.opus'>: The file failed to parse, either the file is damaged or has an unsupported file format.
E: 19:17:00,524 ui/item.error_append:108: <OggOpusFile 'James McMurtry -- 05 - Lobo Town.opus'>: read b'ID3\x04', expected b'OggS', at 0x0
E: 19:17:00,548 util/thread.run:69: Traceback (most recent call last):
  File "/usr/lib/picard/picard/util/thread.py", line 66, in run
    result = self.func()
  File "/usr/lib/picard/picard/file.py", line 240, in _load_check
    return self._load(filename)
  File "/usr/lib/picard/picard/formats/id3.py", line 249, in _load
    file = self._get_file(encode_filename(filename))
  File "/usr/lib/picard/picard/formats/id3.py", line 697, in _get_file
    return self._File(filename, ID3=compatid3.CompatID3)
  File "/usr/local/lib/python3.10/dist-packages/mutagen-1.46.1-py3.10.egg/mutagen/_file.py", line 47, in __init__
    self.load(*args, **kwargs)
  File "/usr/local/lib/python3.10/dist-packages/mutagen-1.46.1-py3.10.egg/mutagen/_util.py", line 155, in wrapper
    return func(self, h, *args, **kwargs)
  File "/usr/local/lib/python3.10/dist-packages/mutagen-1.46.1-py3.10.egg/mutagen/id3/_file.py", line 420, in load
    self.info = self._Info(fileobj, offset)
  File "/usr/local/lib/python3.10/dist-packages/mutagen-1.46.1-py3.10.egg/mutagen/_util.py", line 184, in wrapper
    return func(*args, **kwargs)
  File "/usr/local/lib/python3.10/dist-packages/mutagen-1.46.1-py3.10.egg/mutagen/mp3/__init__.py", line 401, in __init__
    raise HeaderNotFoundError("can't sync to MPEG frame")
mutagen.mp3.HeaderNotFoundError: can't sync to MPEG frame

E: 19:17:00,548 ui/item.error_append:108: <MP3File 'James McMurtry -- 05 - Lobo Town.opus'>: The file failed to parse, either the file is damaged or has an unsupported file format.
E: 19:17:00,549 ui/item.error_append:108: <MP3File 'James McMurtry -- 05 - Lobo Town.opus'>: can't sync to MPEG frame
E: 19:17:01,208 util/thread.run:69: Traceback (most recent call last):
  File "/usr/local/lib/python3.10/dist-packages/mutagen-1.46.1-py3.10.egg/mutagen/ogg.py", line 533, in load
    self.info = self._Info(fileobj)
  File "/usr/local/lib/python3.10/dist-packages/mutagen-1.46.1-py3.10.egg/mutagen/oggopus.py", line 50, in __init__
    page = OggPage(fileobj)
  File "/usr/local/lib/python3.10/dist-packages/mutagen-1.46.1-py3.10.egg/mutagen/ogg.py", line 95, in __init__
    raise error("read %r, expected %r, at 0x%x" % (
mutagen.ogg.error: read b'ID3\x04', expected b'OggS', at 0x0

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/picard/picard/util/thread.py", line 66, in run
    result = self.func()
  File "/usr/lib/picard/picard/file.py", line 240, in _load_check
    return self._load(filename)
  File "/usr/lib/picard/picard/formats/vorbis.py", line 136, in _load
    file = self._File(encode_filename(filename))
  File "/usr/local/lib/python3.10/dist-packages/mutagen-1.46.1-py3.10.egg/mutagen/_file.py", line 47, in __init__
    self.load(*args, **kwargs)
  File "/usr/local/lib/python3.10/dist-packages/mutagen-1.46.1-py3.10.egg/mutagen/_util.py", line 155, in wrapper
    return func(self, h, *args, **kwargs)
  File "/usr/local/lib/python3.10/dist-packages/mutagen-1.46.1-py3.10.egg/mutagen/ogg.py", line 537, in load
    reraise(self._Error, e, sys.exc_info()[2])
  File "/usr/local/lib/python3.10/dist-packages/mutagen-1.46.1-py3.10.egg/mutagen/_util.py", line 42, in reraise
    raise tp(value).with_traceback(tb)
  File "/usr/local/lib/python3.10/dist-packages/mutagen-1.46.1-py3.10.egg/mutagen/ogg.py", line 533, in load
    self.info = self._Info(fileobj)
  File "/usr/local/lib/python3.10/dist-packages/mutagen-1.46.1-py3.10.egg/mutagen/oggopus.py", line 50, in __init__
    page = OggPage(fileobj)
  File "/usr/local/lib/python3.10/dist-packages/mutagen-1.46.1-py3.10.egg/mutagen/ogg.py", line 95, in __init__
    raise error("read %r, expected %r, at 0x%x" % (
mutagen.oggopus.OggOpusHeaderError: read b'ID3\x04', expected b'OggS', at 0x0

E: 19:17:01,209 ui/item.error_append:108: <OggOpusFile 'James McMurtry -- 06 - Broken Bed.opus'>: The file failed to parse, either the file is damaged or has an unsupported file format.
E: 19:17:01,209 ui/item.error_append:108: <OggOpusFile 'James McMurtry -- 06 - Broken Bed.opus'>: read b'ID3\x04', expected b'OggS', at 0x0
E: 19:17:01,232 util/thread.run:69: Traceback (most recent call last):
  File "/usr/lib/picard/picard/util/thread.py", line 66, in run
    result = self.func()
  File "/usr/lib/picard/picard/file.py", line 240, in _load_check
    return self._load(filename)
  File "/usr/lib/picard/picard/formats/id3.py", line 249, in _load
    file = self._get_file(encode_filename(filename))
  File "/usr/lib/picard/picard/formats/id3.py", line 697, in _get_file
    return self._File(filename, ID3=compatid3.CompatID3)
  File "/usr/local/lib/python3.10/dist-packages/mutagen-1.46.1-py3.10.egg/mutagen/_file.py", line 47, in __init__
    self.load(*args, **kwargs)
  File "/usr/local/lib/python3.10/dist-packages/mutagen-1.46.1-py3.10.egg/mutagen/_util.py", line 155, in wrapper
    return func(self, h, *args, **kwargs)
  File "/usr/local/lib/python3.10/dist-packages/mutagen-1.46.1-py3.10.egg/mutagen/id3/_file.py", line 420, in load
    self.info = self._Info(fileobj, offset)
  File "/usr/local/lib/python3.10/dist-packages/mutagen-1.46.1-py3.10.egg/mutagen/_util.py", line 184, in wrapper
    return func(*args, **kwargs)
  File "/usr/local/lib/python3.10/dist-packages/mutagen-1.46.1-py3.10.egg/mutagen/mp3/__init__.py", line 401, in __init__
    raise HeaderNotFoundError("can't sync to MPEG frame")
mutagen.mp3.HeaderNotFoundError: can't sync to MPEG frame

E: 19:17:01,232 ui/item.error_append:108: <MP3File 'James McMurtry -- 06 - Broken Bed.opus'>: The file failed to parse, either the file is damaged or has an unsupported file format.
E: 19:17:01,232 ui/item.error_append:108: <MP3File 'James McMurtry -- 06 - Broken Bed.opus'>: can't sync to MPEG frame
E: 19:17:01,464 util/thread.run:69: Traceback (most recent call last):
  File "/usr/local/lib/python3.10/dist-packages/mutagen-1.46.1-py3.10.egg/mutagen/ogg.py", line 533, in load
    self.info = self._Info(fileobj)
  File "/usr/local/lib/python3.10/dist-packages/mutagen-1.46.1-py3.10.egg/mutagen/oggopus.py", line 50, in __init__
    page = OggPage(fileobj)
  File "/usr/local/lib/python3.10/dist-packages/mutagen-1.46.1-py3.10.egg/mutagen/ogg.py", line 95, in __init__
    raise error("read %r, expected %r, at 0x%x" % (
mutagen.ogg.error: read b'ID3\x04', expected b'OggS', at 0x0

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/picard/picard/util/thread.py", line 66, in run
    result = self.func()
  File "/usr/lib/picard/picard/file.py", line 240, in _load_check
    return self._load(filename)
  File "/usr/lib/picard/picard/formats/vorbis.py", line 136, in _load
    file = self._File(encode_filename(filename))
  File "/usr/local/lib/python3.10/dist-packages/mutagen-1.46.1-py3.10.egg/mutagen/_file.py", line 47, in __init__
    self.load(*args, **kwargs)
  File "/usr/local/lib/python3.10/dist-packages/mutagen-1.46.1-py3.10.egg/mutagen/_util.py", line 155, in wrapper
    return func(self, h, *args, **kwargs)
  File "/usr/local/lib/python3.10/dist-packages/mutagen-1.46.1-py3.10.egg/mutagen/ogg.py", line 537, in load
    reraise(self._Error, e, sys.exc_info()[2])
  File "/usr/local/lib/python3.10/dist-packages/mutagen-1.46.1-py3.10.egg/mutagen/_util.py", line 42, in reraise
    raise tp(value).with_traceback(tb)
  File "/usr/local/lib/python3.10/dist-packages/mutagen-1.46.1-py3.10.egg/mutagen/ogg.py", line 533, in load
    self.info = self._Info(fileobj)
  File "/usr/local/lib/python3.10/dist-packages/mutagen-1.46.1-py3.10.egg/mutagen/oggopus.py", line 50, in __init__
    page = OggPage(fileobj)
  File "/usr/local/lib/python3.10/dist-packages/mutagen-1.46.1-py3.10.egg/mutagen/ogg.py", line 95, in __init__
    raise error("read %r, expected %r, at 0x%x" % (
mutagen.oggopus.OggOpusHeaderError: read b'ID3\x04', expected b'OggS', at 0x0

E: 19:17:01,466 ui/item.error_append:108: <OggOpusFile 'James McMurtry -- 07 - Red Dress.opus'>: The file failed to parse, either the file is damaged or has an unsupported file format.
E: 19:17:01,466 ui/item.error_append:108: <OggOpusFile 'James McMurtry -- 07 - Red Dress.opus'>: read b'ID3\x04', expected b'OggS', at 0x0
E: 19:17:01,490 util/thread.run:69: Traceback (most recent call last):
  File "/usr/lib/picard/picard/util/thread.py", line 66, in run
    result = self.func()
  File "/usr/lib/picard/picard/file.py", line 240, in _load_check
    return self._load(filename)
  File "/usr/lib/picard/picard/formats/id3.py", line 249, in _load
    file = self._get_file(encode_filename(filename))
  File "/usr/lib/picard/picard/formats/id3.py", line 697, in _get_file
    return self._File(filename, ID3=compatid3.CompatID3)
  File "/usr/local/lib/python3.10/dist-packages/mutagen-1.46.1-py3.10.egg/mutagen/_file.py", line 47, in __init__
    self.load(*args, **kwargs)
  File "/usr/local/lib/python3.10/dist-packages/mutagen-1.46.1-py3.10.egg/mutagen/_util.py", line 155, in wrapper
    return func(self, h, *args, **kwargs)
  File "/usr/local/lib/python3.10/dist-packages/mutagen-1.46.1-py3.10.egg/mutagen/id3/_file.py", line 420, in load
    self.info = self._Info(fileobj, offset)
  File "/usr/local/lib/python3.10/dist-packages/mutagen-1.46.1-py3.10.egg/mutagen/_util.py", line 184, in wrapper
    return func(*args, **kwargs)
  File "/usr/local/lib/python3.10/dist-packages/mutagen-1.46.1-py3.10.egg/mutagen/mp3/__init__.py", line 401, in __init__
    raise HeaderNotFoundError("can't sync to MPEG frame")
mutagen.mp3.HeaderNotFoundError: can't sync to MPEG frame

E: 19:17:01,490 ui/item.error_append:108: <MP3File 'James McMurtry -- 07 - Red Dress.opus'>: The file failed to parse, either the file is damaged or has an unsupported file format.
E: 19:17:01,490 ui/item.error_append:108: <MP3File 'James McMurtry -- 07 - Red Dress.opus'>: can't sync to MPEG frame
E: 19:17:01,714 util/thread.run:69: Traceback (most recent call last):
  File "/usr/local/lib/python3.10/dist-packages/mutagen-1.46.1-py3.10.egg/mutagen/ogg.py", line 533, in load
    self.info = self._Info(fileobj)
  File "/usr/local/lib/python3.10/dist-packages/mutagen-1.46.1-py3.10.egg/mutagen/oggopus.py", line 50, in __init__
    page = OggPage(fileobj)
  File "/usr/local/lib/python3.10/dist-packages/mutagen-1.46.1-py3.10.egg/mutagen/ogg.py", line 95, in __init__
    raise error("read %r, expected %r, at 0x%x" % (
mutagen.ogg.error: read b'ID3\x04', expected b'OggS', at 0x0

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/picard/picard/util/thread.py", line 66, in run
    result = self.func()
  File "/usr/lib/picard/picard/file.py", line 240, in _load_check
    return self._load(filename)
  File "/usr/lib/picard/picard/formats/vorbis.py", line 136, in _load
    file = self._File(encode_filename(filename))
  File "/usr/local/lib/python3.10/dist-packages/mutagen-1.46.1-py3.10.egg/mutagen/_file.py", line 47, in __init__
    self.load(*args, **kwargs)
  File "/usr/local/lib/python3.10/dist-packages/mutagen-1.46.1-py3.10.egg/mutagen/_util.py", line 155, in wrapper
    return func(self, h, *args, **kwargs)
  File "/usr/local/lib/python3.10/dist-packages/mutagen-1.46.1-py3.10.egg/mutagen/ogg.py", line 537, in load
    reraise(self._Error, e, sys.exc_info()[2])
  File "/usr/local/lib/python3.10/dist-packages/mutagen-1.46.1-py3.10.egg/mutagen/_util.py", line 42, in reraise
    raise tp(value).with_traceback(tb)
  File "/usr/local/lib/python3.10/dist-packages/mutagen-1.46.1-py3.10.egg/mutagen/ogg.py", line 533, in load
    self.info = self._Info(fileobj)
  File "/usr/local/lib/python3.10/dist-packages/mutagen-1.46.1-py3.10.egg/mutagen/oggopus.py", line 50, in __init__
    page = OggPage(fileobj)
  File "/usr/local/lib/python3.10/dist-packages/mutagen-1.46.1-py3.10.egg/mutagen/ogg.py", line 95, in __init__
    raise error("read %r, expected %r, at 0x%x" % (
mutagen.oggopus.OggOpusHeaderError: read b'ID3\x04', expected b'OggS', at 0x0

E: 19:17:01,715 ui/item.error_append:108: <OggOpusFile 'James McMurtry -- 08 - Gulf Road.opus'>: The file failed to parse, either the file is damaged or has an unsupported file format.
E: 19:17:01,716 ui/item.error_append:108: <OggOpusFile 'James McMurtry -- 08 - Gulf Road.opus'>: read b'ID3\x04', expected b'OggS', at 0x0
E: 19:17:01,742 util/thread.run:69: Traceback (most recent call last):
  File "/usr/lib/picard/picard/util/thread.py", line 66, in run
    result = self.func()
  File "/usr/lib/picard/picard/file.py", line 240, in _load_check
    return self._load(filename)
  File "/usr/lib/picard/picard/formats/id3.py", line 249, in _load
    file = self._get_file(encode_filename(filename))
  File "/usr/lib/picard/picard/formats/id3.py", line 697, in _get_file
    return self._File(filename, ID3=compatid3.CompatID3)
  File "/usr/local/lib/python3.10/dist-packages/mutagen-1.46.1-py3.10.egg/mutagen/_file.py", line 47, in __init__
    self.load(*args, **kwargs)
  File "/usr/local/lib/python3.10/dist-packages/mutagen-1.46.1-py3.10.egg/mutagen/_util.py", line 155, in wrapper
    return func(self, h, *args, **kwargs)
  File "/usr/local/lib/python3.10/dist-packages/mutagen-1.46.1-py3.10.egg/mutagen/id3/_file.py", line 420, in load
    self.info = self._Info(fileobj, offset)
  File "/usr/local/lib/python3.10/dist-packages/mutagen-1.46.1-py3.10.egg/mutagen/_util.py", line 184, in wrapper
    return func(*args, **kwargs)
  File "/usr/local/lib/python3.10/dist-packages/mutagen-1.46.1-py3.10.egg/mutagen/mp3/__init__.py", line 401, in __init__
    raise HeaderNotFoundError("can't sync to MPEG frame")
mutagen.mp3.HeaderNotFoundError: can't sync to MPEG frame

E: 19:17:01,742 ui/item.error_append:108: <MP3File 'James McMurtry -- 08 - Gulf Road.opus'>: The file failed to parse, either the file is damaged or has an unsupported file format.
E: 19:17:01,743 ui/item.error_append:108: <MP3File 'James McMurtry -- 08 - Gulf Road.opus'>: can't sync to MPEG frame
E: 19:17:01,962 util/thread.run:69: Traceback (most recent call last):
  File "/usr/local/lib/python3.10/dist-packages/mutagen-1.46.1-py3.10.egg/mutagen/ogg.py", line 533, in load
    self.info = self._Info(fileobj)
  File "/usr/local/lib/python3.10/dist-packages/mutagen-1.46.1-py3.10.egg/mutagen/oggopus.py", line 50, in __init__
    page = OggPage(fileobj)
  File "/usr/local/lib/python3.10/dist-packages/mutagen-1.46.1-py3.10.egg/mutagen/ogg.py", line 95, in __init__
    raise error("read %r, expected %r, at 0x%x" % (
mutagen.ogg.error: read b'ID3\x04', expected b'OggS', at 0x0

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/picard/picard/util/thread.py", line 66, in run
    result = self.func()
  File "/usr/lib/picard/picard/file.py", line 240, in _load_check
    return self._load(filename)
  File "/usr/lib/picard/picard/formats/vorbis.py", line 136, in _load
    file = self._File(encode_filename(filename))
  File "/usr/local/lib/python3.10/dist-packages/mutagen-1.46.1-py3.10.egg/mutagen/_file.py", line 47, in __init__
    self.load(*args, **kwargs)
  File "/usr/local/lib/python3.10/dist-packages/mutagen-1.46.1-py3.10.egg/mutagen/_util.py", line 155, in wrapper
    return func(self, h, *args, **kwargs)
  File "/usr/local/lib/python3.10/dist-packages/mutagen-1.46.1-py3.10.egg/mutagen/ogg.py", line 537, in load
    reraise(self._Error, e, sys.exc_info()[2])
  File "/usr/local/lib/python3.10/dist-packages/mutagen-1.46.1-py3.10.egg/mutagen/_util.py", line 42, in reraise
    raise tp(value).with_traceback(tb)
  File "/usr/local/lib/python3.10/dist-packages/mutagen-1.46.1-py3.10.egg/mutagen/ogg.py", line 533, in load
    self.info = self._Info(fileobj)
  File "/usr/local/lib/python3.10/dist-packages/mutagen-1.46.1-py3.10.egg/mutagen/oggopus.py", line 50, in __init__
    page = OggPage(fileobj)
  File "/usr/local/lib/python3.10/dist-packages/mutagen-1.46.1-py3.10.egg/mutagen/ogg.py", line 95, in __init__
    raise error("read %r, expected %r, at 0x%x" % (
mutagen.oggopus.OggOpusHeaderError: read b'ID3\x04', expected b'OggS', at 0x0

E: 19:17:01,963 ui/item.error_append:108: <OggOpusFile 'James McMurtry -- 09 - Gone to the Y.opus'>: The file failed to parse, either the file is damaged or has an unsupported file format.
E: 19:17:01,963 ui/item.error_append:108: <OggOpusFile 'James McMurtry -- 09 - Gone to the Y.opus'>: read b'ID3\x04', expected b'OggS', at 0x0
E: 19:17:01,988 util/thread.run:69: Traceback (most recent call last):
  File "/usr/lib/picard/picard/util/thread.py", line 66, in run
    result = self.func()
  File "/usr/lib/picard/picard/file.py", line 240, in _load_check
    return self._load(filename)
  File "/usr/lib/picard/picard/formats/id3.py", line 249, in _load
    file = self._get_file(encode_filename(filename))
  File "/usr/lib/picard/picard/formats/id3.py", line 697, in _get_file
    return self._File(filename, ID3=compatid3.CompatID3)
  File "/usr/local/lib/python3.10/dist-packages/mutagen-1.46.1-py3.10.egg/mutagen/_file.py", line 47, in __init__
    self.load(*args, **kwargs)
  File "/usr/local/lib/python3.10/dist-packages/mutagen-1.46.1-py3.10.egg/mutagen/_util.py", line 155, in wrapper
    return func(self, h, *args, **kwargs)
  File "/usr/local/lib/python3.10/dist-packages/mutagen-1.46.1-py3.10.egg/mutagen/id3/_file.py", line 420, in load
    self.info = self._Info(fileobj, offset)
  File "/usr/local/lib/python3.10/dist-packages/mutagen-1.46.1-py3.10.egg/mutagen/_util.py", line 184, in wrapper
    return func(*args, **kwargs)
  File "/usr/local/lib/python3.10/dist-packages/mutagen-1.46.1-py3.10.egg/mutagen/mp3/__init__.py", line 401, in __init__
    raise HeaderNotFoundError("can't sync to MPEG frame")
mutagen.mp3.HeaderNotFoundError: can't sync to MPEG frame

E: 19:17:01,988 ui/item.error_append:108: <MP3File 'James McMurtry -- 09 - Gone to the Y.opus'>: The file failed to parse, either the file is damaged or has an unsupported file format.
E: 19:17:01,989 ui/item.error_append:108: <MP3File 'James McMurtry -- 09 - Gone to the Y.opus'>: can't sync to MPEG frame
E: 19:17:02,211 util/thread.run:69: Traceback (most recent call last):
  File "/usr/local/lib/python3.10/dist-packages/mutagen-1.46.1-py3.10.egg/mutagen/ogg.py", line 533, in load
    self.info = self._Info(fileobj)
  File "/usr/local/lib/python3.10/dist-packages/mutagen-1.46.1-py3.10.egg/mutagen/oggopus.py", line 50, in __init__
    page = OggPage(fileobj)
  File "/usr/local/lib/python3.10/dist-packages/mutagen-1.46.1-py3.10.egg/mutagen/ogg.py", line 95, in __init__
    raise error("read %r, expected %r, at 0x%x" % (
mutagen.ogg.error: read b'ID3\x04', expected b'OggS', at 0x0

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/picard/picard/util/thread.py", line 66, in run
    result = self.func()
  File "/usr/lib/picard/picard/file.py", line 240, in _load_check
    return self._load(filename)
  File "/usr/lib/picard/picard/formats/vorbis.py", line 136, in _load
    file = self._File(encode_filename(filename))
  File "/usr/local/lib/python3.10/dist-packages/mutagen-1.46.1-py3.10.egg/mutagen/_file.py", line 47, in __init__
    self.load(*args, **kwargs)
  File "/usr/local/lib/python3.10/dist-packages/mutagen-1.46.1-py3.10.egg/mutagen/_util.py", line 155, in wrapper
    return func(self, h, *args, **kwargs)
  File "/usr/local/lib/python3.10/dist-packages/mutagen-1.46.1-py3.10.egg/mutagen/ogg.py", line 537, in load
    reraise(self._Error, e, sys.exc_info()[2])
  File "/usr/local/lib/python3.10/dist-packages/mutagen-1.46.1-py3.10.egg/mutagen/_util.py", line 42, in reraise
    raise tp(value).with_traceback(tb)
  File "/usr/local/lib/python3.10/dist-packages/mutagen-1.46.1-py3.10.egg/mutagen/ogg.py", line 533, in load
    self.info = self._Info(fileobj)
  File "/usr/local/lib/python3.10/dist-packages/mutagen-1.46.1-py3.10.egg/mutagen/oggopus.py", line 50, in __init__
    page = OggPage(fileobj)
  File "/usr/local/lib/python3.10/dist-packages/mutagen-1.46.1-py3.10.egg/mutagen/ogg.py", line 95, in __init__
    raise error("read %r, expected %r, at 0x%x" % (
mutagen.oggopus.OggOpusHeaderError: read b'ID3\x04', expected b'OggS', at 0x0

E: 19:17:02,212 ui/item.error_append:108: <OggOpusFile 'James McMurtry -- 10 - Choctaw Bingo.opus'>: The file failed to parse, either the file is damaged or has an unsupported file format.
E: 19:17:02,212 ui/item.error_append:108: <OggOpusFile 'James McMurtry -- 10 - Choctaw Bingo.opus'>: read b'ID3\x04', expected b'OggS', at 0x0
E: 19:17:02,238 util/thread.run:69: Traceback (most recent call last):
  File "/usr/lib/picard/picard/util/thread.py", line 66, in run
    result = self.func()
  File "/usr/lib/picard/picard/file.py", line 240, in _load_check
    return self._load(filename)
  File "/usr/lib/picard/picard/formats/id3.py", line 249, in _load
    file = self._get_file(encode_filename(filename))
  File "/usr/lib/picard/picard/formats/id3.py", line 697, in _get_file
    return self._File(filename, ID3=compatid3.CompatID3)
  File "/usr/local/lib/python3.10/dist-packages/mutagen-1.46.1-py3.10.egg/mutagen/_file.py", line 47, in __init__
    self.load(*args, **kwargs)
  File "/usr/local/lib/python3.10/dist-packages/mutagen-1.46.1-py3.10.egg/mutagen/_util.py", line 155, in wrapper
    return func(self, h, *args, **kwargs)
  File "/usr/local/lib/python3.10/dist-packages/mutagen-1.46.1-py3.10.egg/mutagen/id3/_file.py", line 420, in load
    self.info = self._Info(fileobj, offset)
  File "/usr/local/lib/python3.10/dist-packages/mutagen-1.46.1-py3.10.egg/mutagen/_util.py", line 184, in wrapper
    return func(*args, **kwargs)
  File "/usr/local/lib/python3.10/dist-packages/mutagen-1.46.1-py3.10.egg/mutagen/mp3/__init__.py", line 401, in __init__
    raise HeaderNotFoundError("can't sync to MPEG frame")
mutagen.mp3.HeaderNotFoundError: can't sync to MPEG frame

E: 19:17:02,239 ui/item.error_append:108: <MP3File 'James McMurtry -- 10 - Choctaw Bingo.opus'>: The file failed to parse, either the file is damaged or has an unsupported file format.
E: 19:17:02,239 ui/item.error_append:108: <MP3File 'James McMurtry -- 10 - Choctaw Bingo.opus'>: can't sync to MPEG frame
iconoclasthero commented 9 months ago

This is the terminal output from picard on the files that were copied by ffmpeg, tagged with picard and saved:

$ picard x &
[2] 3670119
I: 19:21:27,531 tagger.main:1546: Sending messages to main instance: ['LOAD /library/music/James McMurtry/James McMurtry -- Saint Mary of the Woods (2002) (mp3)/x']
W: 19:21:30,074 webservice.get:599: This method is deprecated, use WebService.get_url() instead
W: 19:21:30,075 webservice.get:599: This method is deprecated, use WebService.get_url() instead
W: 19:21:31,205 webservice.get:599: This method is deprecated, use WebService.get_url() instead
iconoclasthero commented 9 months ago

Different machine, 0.47.0 version of mutagen, same problem with the .opus files:

$ pip install mutagen; picard ./*opus
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: mutagen in $HOME/.local/lib/python3.10/site-packages (1.47.0)
I: 19:53:09,407 tagger.main:1546: Sending messages to main instance: ['LOAD /Library/music/James McMurtry/James McMurtry -- Saint Mary of the Woods (2002) (mp3)/James McMurtry -- 01 - Dry River.opus', 'LOAD /Library/music/James McMurtry/James McMurtry -- Saint Mary of the Woods (2002) (mp3)/James McMurtry -- 02 - Valley Road.opus', 'LOAD /Library/music/James McMurtry/James McMurtry -- Saint Mary of the Woods (2002) (mp3)/James McMurtry -- 03 - Saint Mary of the Woods.opus', 'LOAD /Library/music/James McMurtry/James McMurtry -- Saint Mary of the Woods (2002) (mp3)/James McMurtry -- 04 - Out Here in the Middle.opus', 'LOAD /Library/music/James McMurtry/James McMurtry -- Saint Mary of the Woods (2002) (mp3)/James McMurtry -- 05 - Lobo Town.opus', 'LOAD /Library/music/James McMurtry/James McMurtry -- Saint Mary of the Woods (2002) (mp3)/James McMurtry -- 06 - Broken Bed.opus', 'LOAD /Library/music/James McMurtry/James McMurtry -- Saint Mary of the Woods (2002) (mp3)/James McMurtry -- 07 - Red Dress.opus', 'LOAD /Library/music/James McMurtry/James McMurtry -- Saint Mary of the Woods (2002) (mp3)/James McMurtry -- 08 - Gulf Road.opus', 'LOAD /Library/music/James McMurtry/James McMurtry -- Saint Mary of the Woods (2002) (mp3)/James McMurtry -- 09 - Gone to the Y.opus', 'LOAD /Library/music/James McMurtry/James McMurtry -- Saint Mary of the Woods (2002) (mp3)/James McMurtry -- 10 - Choctaw Bingo.opus']
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
QApplication: invalid style override 'Adwaita-Dark' passed, ignoring it.
    Available styles: Windows, Fusion
E: 19:53:30,405 util/thread.run:69: Traceback (most recent call last):
  File "$HOME/.local/lib/python3.10/site-packages/mutagen/ogg.py", line 533, in load
    self.info = self._Info(fileobj)
  File "$HOME/.local/lib/python3.10/site-packages/mutagen/oggopus.py", line 50, in __init__
    page = OggPage(fileobj)
  File "$HOME/.local/lib/python3.10/site-packages/mutagen/ogg.py", line 95, in __init__
    raise error("read %r, expected %r, at 0x%x" % (
mutagen.ogg.error: read b'ID3\x04', expected b'OggS', at 0x0

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/picard/picard/util/thread.py", line 66, in run
    result = self.func()
  File "/usr/lib/picard/picard/file.py", line 240, in _load_check
    return self._load(filename)
  File "/usr/lib/picard/picard/formats/vorbis.py", line 136, in _load
    file = self._File(encode_filename(filename))
  File "/home/bvargo/.local/lib/python3.10/site-packages/mutagen/_file.py", line 48, in __init__
    self.load(*args, **kwargs)
  File "/home/bvargo/.local/lib/python3.10/site-packages/mutagen/_util.py", line 156, in wrapper
    return func(self, h, *args, **kwargs)
  File "/home/bvargo/.local/lib/python3.10/site-packages/mutagen/ogg.py", line 537, in load
    reraise(self._Error, e, sys.exc_info()[2])
  File "/home/bvargo/.local/lib/python3.10/site-packages/mutagen/_util.py", line 43, in reraise
    raise tp(value).with_traceback(tb)
  File "/home/bvargo/.local/lib/python3.10/site-packages/mutagen/ogg.py", line 533, in load
    self.info = self._Info(fileobj)
  File "/home/bvargo/.local/lib/python3.10/site-packages/mutagen/oggopus.py", line 50, in __init__
    page = OggPage(fileobj)
  File "/home/bvargo/.local/lib/python3.10/site-packages/mutagen/ogg.py", line 95, in __init__
    raise error("read %r, expected %r, at 0x%x" % (
mutagen.oggopus.OggOpusHeaderError: read b'ID3\x04', expected b'OggS', at 0x0

E: 19:53:30,406 ui/item.error_append:108: <OggOpusFile 'James McMurtry -- 01 - Dry River.opus'>: The file failed to parse, either the file is damaged or has an unsupported file format.
E: 19:53:30,406 ui/item.error_append:108: <OggOpusFile 'James McMurtry -- 01 - Dry River.opus'>: read b'ID3\x04', expected b'OggS', at 0x0
E: 19:53:30,535 util/thread.run:69: Traceback (most recent call last):
  File "/usr/lib/picard/picard/util/thread.py", line 66, in run
    result = self.func()
  File "/usr/lib/picard/picard/file.py", line 240, in _load_check
    return self._load(filename)
  File "/usr/lib/picard/picard/formats/id3.py", line 249, in _load
    file = self._get_file(encode_filename(filename))
  File "/usr/lib/picard/picard/formats/id3.py", line 697, in _get_file
    return self._File(filename, ID3=compatid3.CompatID3)
  File "/home/bvargo/.local/lib/python3.10/site-packages/mutagen/_file.py", line 48, in __init__
    self.load(*args, **kwargs)
  File "/home/bvargo/.local/lib/python3.10/site-packages/mutagen/_util.py", line 156, in wrapper
    return func(self, h, *args, **kwargs)
  File "/home/bvargo/.local/lib/python3.10/site-packages/mutagen/id3/_file.py", line 420, in load
    self.info = self._Info(fileobj, offset)
  File "/home/bvargo/.local/lib/python3.10/site-packages/mutagen/_util.py", line 185, in wrapper
    return func(*args, **kwargs)
  File "/home/bvargo/.local/lib/python3.10/site-packages/mutagen/mp3/__init__.py", line 401, in __init__
    raise HeaderNotFoundError("can't sync to MPEG frame")
mutagen.mp3.HeaderNotFoundError: can't sync to MPEG frame

E: 19:53:30,535 ui/item.error_append:108: <MP3File 'James McMurtry -- 01 - Dry River.opus'>: The file failed to parse, either the file is damaged or has an unsupported file format.
E: 19:53:30,536 ui/item.error_append:108: <MP3File 'James McMurtry -- 01 - Dry River.opus'>: can't sync to MPEG frame
E: 19:53:30,624 util/thread.run:69: Traceback (most recent call last):
  File "/home/bvargo/.local/lib/python3.10/site-packages/mutagen/ogg.py", line 533, in load
    self.info = self._Info(fileobj)
  File "/home/bvargo/.local/lib/python3.10/site-packages/mutagen/oggopus.py", line 50, in __init__
    page = OggPage(fileobj)
  File "/home/bvargo/.local/lib/python3.10/site-packages/mutagen/ogg.py", line 95, in __init__
    raise error("read %r, expected %r, at 0x%x" % (
mutagen.ogg.error: read b'ID3\x04', expected b'OggS', at 0x0

⋮