leosongwei / mutagen

Automatically exported from code.google.com/p/mutagen
GNU General Public License v2.0
0 stars 0 forks source link

How to load a file with path? #20

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
>>> from mutagen import mp3
>>> audio = mp3("X:/WorkSpace/Test Environment/Music/18. Bad Day - Daniel
Powter.mp3")
Traceback (most recent call last):
  File "<string>", line 1, in <fragment>
TypeError: 'module' object is not callable

Original issue reported on code.google.com by AloneRoad on 30 Aug 2009 at 1:28

GoogleCodeExporter commented 9 years ago
Sorry. Problem is solved. Just change "from mutagen" to "from mutagen.mp3"

Original comment by AloneRoad on 30 Aug 2009 at 1:45

GoogleCodeExporter commented 9 years ago

Original comment by joe.wreschnig@gmail.com on 7 Sep 2009 at 6:30