Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

15 lines (8 sloc) 0.302 kb
import libmtag
import sys
myfile = libmtag.File(sys.argv[1])
print "%s - %s" % (myfile.tag().get("artist"), myfile.tag().get("title"))
myfile.tag().set("artist", "foo")
print "%s - %s" % (myfile.tag().get("artist"), myfile.tag().get("title"))
print myfile.tag("id3v2").get_all ()
# myfile.save()
Jump to Line
Something went wrong with that request. Please try again.