You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
--- audio_metadata/formats/id3v2frames.py.orig+++ audio_metadata/formats/id3v2frames.py@@ -1421,7 +1421,7 @@
for v in value:
try:
parse_iso8601(v)
- except ParserError:+ except (ParserError, ValueError):
raise TagError("Timestamp frame values must conform to the ID3v2-compliant subset of ISO 8601.")
@datareader
The text was updated successfully, but these errors were encountered:
Changed the label to enhancement, since it's not technically a bug to error out on invalid input. But audio-metadata should definitely handle this case gracefully as well as ParserError.
audio-metadata version
Name: audio-metadata
Version: 0.11.1
Summary: A library for reading and, in the future, writing metadata from audio files.
Home-page: https://github.com/thebigmunch/audio-metadata
Author: thebigmunch
Author-email: [email protected]
License: MIT
Location: /usr/lib/python3.8/site-packages
Requires: bidict, pendulum, tbm-utils, wrapt, attrs, more-itertools, pprintpp, bitstruct
Required-by: google-music, google-music-utils, google-music-scripts, google-music-proto
Python version
Python 3.8.2
Exception traceback
Proposed fix
Similar to https://github.com/thebigmunch/google-music-proto/issues/6,
ValueError
should be gracefully handled.The text was updated successfully, but these errors were encountered: