Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@rbrito
Created July 9, 2014 14:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rbrito/c9582276220d47f98b81 to your computer and use it in GitHub Desktop.
Save rbrito/c9582276220d47f98b81 to your computer and use it in GitHub Desktop.
import mutagen
tags = mutagen.File('foo.m4a')
tags # {'\xa9too': [u'Lavf55.33.100']}
tags['----:com.apple.iTunes:replaygain_track_gain'] = ['-10.44 dB']
tags # {'\xa9too': [u'Lavf55.33.100'], '----:com.apple.iTunes:replaygain_track_gain': ['-10.44 dB']}
tags.save()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment