mutagen throws exception if mp3 is not recognized

Bug #777904 reported by berk
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
dir2ogg
Fix Released
Undecided
Unassigned

Bug Description

mutagen throws exception if mp3 file is not recognized. this exception is not handled and causes dir2ogg exit. simply reporting the exception and continueing with the next file works well

exception can arise here in line 435:

opts=['-r', '-R', str(mutagen.File(self.song).info.sample_rate)]

Revision history for this message
Julian Andres Klode (juliank) wrote :

Should be fixed in commit ecccc996494a9e3e9f2e164bd006e5f38a8f0f1a

https://github.com/julian-klode/dir2ogg/commit/ecccc996494a9e3e9f2e164bd006e5f38a8f0f1a

Changed in dir2ogg:
status: New → Fix Committed
Revision history for this message
Julian Andres Klode (juliank) wrote :

Fixed in 0.12

Changed in dir2ogg:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.