-
Notifications
You must be signed in to change notification settings - Fork 158
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mutagen updates ID3v1 tags but does not save ID3v2 tags #583
Comments
If there are no ID3v2.x tags yet mutagen does not automatically add them. You need to do some check like: if audio.tags is None:
audio.add_tags() |
Thanks, but the file already has ID3v2 tags (as shown in the example output). Adding a
In any case,
|
@unikitty37 The issue seems to be not writing the file, but the verification with the |
I am closing this. I tried your script directly and it does save the ID3v2.4 tags. The old
Docs are fixed with 3cbcc1b |
I'm trying to reorganise the tags in some old radio programmes that I ripped years ago, and am trying to change artist, title, and album based on the filename. I'm also removing some comments that the ripping software auto-added.
(Please excuse any poor-quality Python — I'm a Ruby developer who's had to learn a little Python to do this as there are no up-to-date and working Ruby libraries that I can find to do this :)
…but when I run it, it changes the ID3v1 tags but doesn't seem to save the ID3v2 tags, despite the documentation for
save()
saying "The lack of a way to update only an ID3v1 tag is intentional."I'm not sure whether this is me doing something wrong (extremely likely!) or a Mutagen bug. Could somebody please point me in the right direction?
(BTW, shouldn't that
v2
parameter in the list bev2_version
? :)Here's the before and after, with some light redaction (the
id3v2
command is from https://id3v2.sourceforge.io/):System info:
macOS 12.6 (21G115)
The text was updated successfully, but these errors were encountered: