summaryrefslogtreecommitdiff
path: root/lib/audio.py
diff options
context:
space:
mode:
authorjvoisin2011-08-16 18:11:24 +0200
committerjvoisin2011-08-16 18:11:24 +0200
commit4bd3e47da02fde08acfada1795cc55170abdb00a (patch)
treef8c7aa5fd5e1b07a28b350c5ded8125ef2467c51 /lib/audio.py
parentbaf8e080125614326ba9c96ca8f2404fd12b050e (diff)
setup.py now works !
Diffstat (limited to '')
-rw-r--r--mat/audio.py (renamed from lib/audio.py)4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/audio.py b/mat/audio.py
index 18daa7e..21a94be 100644
--- a/lib/audio.py
+++ b/mat/audio.py
@@ -91,8 +91,8 @@ class FlacStripper(parser.GenericParser):
91 metadata = {} 91 metadata = {}
92 mfile = FLAC(self.filename) 92 mfile = FLAC(self.filename)
93 if mfile.tags is not None: 93 if mfile.tags is not None:
94 for key, value in mfile.tags:
95 metadata[key] = value
96 if mfile.pictures != []: 94 if mfile.pictures != []:
97 metadata['picture :'] = 'yes' 95 metadata['picture :'] = 'yes'
96 for key, value in mfile.tags:
97 metadata[key] = value
98 return metadata 98 return metadata