Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: CLI M4A Tagger for iTunes metadata (preferably windows) (Read 1230 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

CLI M4A Tagger for iTunes metadata (preferably windows)

Hello,

I'm searching for a tool which can handle the metainformations in m4a-files.
Mp3tag is doing fine, except of three iTunes fields.

I need to tag those iTunes specific fields:

Apple Store Country ('sfID')
Album Title ID ('atID')
Genre ID ('geID')

AtomicParsley (v0.9.6) can handle the Genre ID, but it couldn't handle the other fields.

Best regards,
Felix

Re: CLI M4A Tagger for iTunes metadata (preferably windows)

Reply #1
Done with mutagen:

Code: [Select]
from mutagen.mp4 import MP4

audio = MP4("test.m4a")
audio["geID"] = [12345]
audio["atID"] = [12345]
audio["sfID"] = [12345]
audio.pprint()
audio.save()