Example #1
0
def init_tagpy():
    FrameFactory.instance().setDefaultTextEncoding(StringType.UTF8)
Example #2
0
    def _test(self, attribute, expected):
        FrameFactory.instance().setDefaultTextEncoding(tagpy.StringType.UTF8)

        file_ = tagpy.FileRef(self.mp3file)
        tag = file_.tag()
        assert expected == getattr(tag, attribute)