#! /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"):