diff --git a/CHANGELOG.md b/CHANGELOG.md index 011275c..0b3f8dd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,10 @@ This project adheres to [Semantic Versioning](https://semver.org). [Commits](https://github.com/thebigmunch/audio-metadata/compare/0.3.2...master) +### Fixed + +* Missing ``encoding`` argument to ``decode_bytestring`` call. + ## [0.3.2](https://github.com/thebigmunch/audio-metadata/releases/tag/0.3.2) (2019-01-26) diff --git a/src/audio_metadata/formats/id3v2_frames.py b/src/audio_metadata/formats/id3v2_frames.py index c304173..b580b51 100644 --- a/src/audio_metadata/formats/id3v2_frames.py +++ b/src/audio_metadata/formats/id3v2_frames.py @@ -421,7 +421,7 @@ def load(cls, data, struct_pattern, size_len, per_byte): ): encoding = determine_encoding(frame_data[0:1]) values = [ - decode_bytestring(value) + decode_bytestring(value, encoding) for value in split_encoded(frame_data[1:], encoding) if value ]