Example #1
0
 def __init__(self, fpath):
     # Forcing the unicode through
     try:
         fpath = fpath.decode("utf-8")
     except:
         pass
     self.__metadata = global_reader.read_mutagen(fpath)
Example #2
0
 def test_old_metadata(self):
     path = "/home/rudi/music/Nightingale.mp3"
     m = global_reader.read_mutagen(path)
     self.assertTrue( len(m) > 0 )
     n = Metadata(path)
     self.assertEqual(n.extract(), m)
Example #3
0
 def metadatas(self,f):
     return global_reader.read_mutagen(f), Metadata(f).extract()
Example #4
0
 def __init__(self, fpath):
     # Forcing the unicode through
     try    : fpath = fpath.decode("utf-8")
     except : pass
     self.__metadata = global_reader.read_mutagen(fpath)
 def test_old_metadata(self):
     path = "/home/rudi/music/Nightingale.mp3"
     m = global_reader.read_mutagen(path)
     self.assertTrue(len(m) > 0)
     n = Metadata(path)
     self.assertEqual(n.extract(), m)
 def metadatas(self, f):
     return global_reader.read_mutagen(f), Metadata(f).extract()