Closed GoogleCodeExporter closed 9 years ago
I'm sorry, this was not meant as a enhancement but is a bug. I didn't see that
a type needed to be set.
Original comment by wape...@gmail.com
on 9 Apr 2011 at 11:40
Can you supply a copy of the file it's getting stuck on - ideally the whole
thing, but if that's not possible, the first 128KB or so? If you'd rather not
post it here you can email it to joe.wreschnig at gmail.com.
That error occurs when Mutagen decides that the file is an MP3 file - which it
did because it ended in .mp3 - but then the MP3 parsing code can't actually
figure out how to load it.
Original comment by joe.wreschnig@gmail.com
on 9 Apr 2011 at 5:39
I sent a copy of the flac file to the requester but haven't heard anything
back. Any idea why mutagen (or oggify?) thinks a flac file is an mp3 file?
Seems rather strange.
Original comment by wape...@gmail.com
on 17 Apr 2011 at 12:02
I didn't receive any email.
If the problem is in reading the FLAC rather than writing the MP3, it's
possible that the FLAC has an ID3 tag. This is invalid, and it needs to be
stripped; you can do that using the oneliner
from mutagen import id3; id3.delete("foo.flac")
Original comment by joe.wreschnig@gmail.com
on 17 Apr 2011 at 11:45
Honestly, rereading the original trace, it looks like oggify is generating a 0
byte "MP3" and then expecting Mutagen to read it. That's a bug in oggify, not
Mutagen.
Original comment by joe.wreschnig@gmail.com
on 17 Apr 2011 at 11:47
I'll try that first. I've no idea why a flac file would have id3 tags but I
can see why that would be a problem. Perhaps the ripping script changed
since the last version. I may need to change the command line to fix the
problem. Thanks for the help.
Original comment by wape...@gmail.com
on 17 Apr 2011 at 12:49
Original comment by joe.wreschnig@gmail.com
on 15 May 2011 at 9:07
I did some checking on my system and found out that the libraries for the
mp3 support were incomplete. It seems when you install a library you don't
get everything you should and have to install developer packages to get
header files. In the modern day of terabyte drives we are worried about a
few kilobytes of header information. Amazing. Anyway, once I picked up the
mp3 headers via the developer libraries the applications started working.
The idea that oggify was sending a zero length file was the hint I needed to
track down the problem. Perhaps oggify (and mutagen?) should indicate
missing formats (oggify: I have no idea what mp3 means or mutagen: null
input stream detected) to make this an easier problem to correct on the user
end. In any case, thanks for the suggestion and I am sorry I didn't reply
sooner. No excuse.
Thanks for the help.
Original comment by wape...@gmail.com
on 16 May 2011 at 4:28
Original issue reported on code.google.com by
wape...@gmail.com
on 9 Apr 2011 at 11:37