HydrogenAudio

Hydrogenaudio Forum => General Audio => Topic started by: FLX90 on 2018-12-04 14:10:58

Title: CLI M4A Tagger for iTunes metadata (preferably windows)
Post by: FLX90 on 2018-12-04 14:10:58
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
Title: Re: CLI M4A Tagger for iTunes metadata (preferably windows)
Post by: FLX90 on 2018-12-05 17:24:59
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()