-
-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Issue #28: mutagen.mp3.HeaderNotFoundError: can't sync to MPEG fr…
…ame (#29) * 🥅 Fix issue #28: catch mutagen.mp3.HeaderNotFoundError while loading podcasts * this prevents app crash because of single broken/incompatible mp3 files. * 🥅 Fix "ValueError: year 0 is out of range" error when trying to format date tag as into html * 🐛 fix UnicodeEncodeError by allowing surrogates in the data while encoding to bytes * e.g. the following: UnicodeEncodeError: 'utf-8' codec can't encode character '\udc84' in position 767364: surrogates not allowed * ensure request responses are already encoded to bytes to avoid strict encoding by the requests library * 🔊 add logging for broken file metadata (HeaderNotFoundError)
- Loading branch information
Showing
1 changed file
with
20 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters