X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=audio%2Fmp3%2Flist-id3v2-frames.py;h=5a9efacfbf8b3b24ee9d3b03698013ef11aa1014;hb=276d923954a25e142b349c78bb5dae23f476d00e;hp=926f5f3b1c21ddfa472539fac85f90cc61be1d1a;hpb=6c49eb3eb2c236f0e8e711eec72b32d01d629050;p=audio-cdr-video.git diff --git a/audio/mp3/list-id3v2-frames.py b/audio/mp3/list-id3v2-frames.py index 926f5f3..5a9efac 100755 --- a/audio/mp3/list-id3v2-frames.py +++ b/audio/mp3/list-id3v2-frames.py @@ -1,16 +1,16 @@ #! /usr/bin/env python import sys -import eyeD3 -from eyeD3.frames import id3EncodingToString +import eyed3 +from eyed3.id3.frames import id3EncodingToString import locale locale.setlocale(locale.LC_ALL, '') for file in sys.argv[1:]: print "File:", file - tag = eyeD3.Tag() - tag.link(file) + tag = eyed3.id3.Tag() + tag.parse(file) for frame in tag.frames: print str(frame) if hasattr(frame, "text"):