Last active
September 28, 2024 00:44
-
-
Save lemon24/ebd0b8fa9b223be1948cddc279ea7970 to your computer and use it in GitHub Desktop.
using mutagen to update MP4 tags
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
before: MPEG-4 audio (AAC LC), 4.16 seconds, 96000 bps (audio/mp4) | |
after: MPEG-4 audio (AAC LC), 4.16 seconds, 96000 bps (audio/mp4) | |
album=my album | |
artist=my artist | |
title=my title | |
<class 'mutagen.easymp4.EasyMP4'> <class 'mutagen.easymp4.EasyMP4Tags'> | |
mp3 tags: acoustid_fingerprint acoustid_id album albumartist albumartistsort albumsort arranger artist artistsort asin author barcode bpm catalognumber compilation composer composersort conductor copyright date discnumber discsubtitle encodedby genre isrc language length lyricist media mood musicbrainz_albumartistid musicbrainz_albumid musicbrainz_albumstatus musicbrainz_albumtype musicbrainz_artistid musicbrainz_discid musicbrainz_releasegroupid musicbrainz_releasetrackid musicbrainz_trackid musicbrainz_trmid musicbrainz_workid musicip_fingerprint musicip_puid organization originaldate performer performer:* releasecountry replaygain_*_gain replaygain_*_peak title titlesort tracknumber version website | |
mp4 tags: album albumartist albumartistsort albumsort artist artistsort bpm comment composersort copyright date description discnumber genre grouping musicbrainz_albumartistid musicbrainz_albumid musicbrainz_albumstatus musicbrainz_albumtype musicbrainz_artistid musicbrainz_trackid musicip_puid releasecountry title titlesort tracknumber | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment