Closed GoogleCodeExporter closed 9 years ago
It is probably worth mentioning that the MP3 file is identified by `file` as:
MPEG ADTS, layer III, v2, 64 kbps, 24 kHz, JntStereo
Original comment by vri...@gmail.com
on 27 Feb 2010 at 1:24
FAQ.
Original comment by joe.wreschnig@gmail.com
on 27 Feb 2010 at 1:49
Sorry I brought it up. Apparently there was no bug, and there is nothing wrong
with
the file. I managed to get it to work by doing something like this:
try:
tag = ID3(mp3file)
except mutagen.id3.error:
tag = ID3()
tag.save(mp3file)
And then all the rest worked. For some reason I assumed that mutagen will
create the
tag if it does not exist, and all examples in the docs were about *modifying*
the
tags, not creating them.
Maybe it will help other people to add code on creating tags to the main
tutorial.
Thanks for you work, and I guess the issue can be considered closed.
Original comment by vri...@gmail.com
on 27 Feb 2010 at 1:55
I agree with the reporter.
Either ID3/EasyID3 should automatically create tags if they don't exist, or
this example should be in the docs.
Original comment by zbuh...@gmail.com
on 6 Jul 2011 at 11:20
There are only four questions in the FAQ, and this is one of them.
Original comment by joe.wreschnig@gmail.com
on 7 Jul 2011 at 3:39
Couldn't that information show up if you do help(mutagen)? Seems like it would
save a lot of people a lot of time.
Original comment by tens...@gmail.com
on 22 Aug 2013 at 10:13
I agree. It should create tags if they don't exist.
Original comment by makobu.mwambiriro@gmail.com
on 9 Mar 2014 at 3:43
Original issue reported on code.google.com by
vri...@gmail.com
on 27 Feb 2010 at 1:14Attachments: