Skip to content

0.6.0

Compare
Choose a tag to compare
@thebigmunch thebigmunch released this 18 Oct 20:08

Commits

Added

  • InvalidChunk exception.
  • Support for VBRI headers in MP3.
  • LAMEEncodingFlags.
  • ID3v2Flags.
  • ABR presets to LAMEPreset enum.
  • InvalidBlock exception.

Changed

  • Refactor high-level API functions and DataReader to handle
    various inputs better, especially file-like objects.
  • Support 0-duration FLAC files.
  • Raise proper exception if WAV stream info not found.
  • Make LAMEReplayGain contain both track and album gains.
    • Attributes are now:
      peak, track_type, track_origin, track_adjustment, album_type, album_origin, album_adjustment
    • LAMEHeader attributes from album_gain, track_gain to
      replay_gain.
  • Use MusicBrainz Picard tag mappings.
  • RIFFTags loading.
    It now expects INFO at start and raises an exception if not.
  • Use find_mp3_frames for all possible MP3 inputs in determine_format.
    This prevents some misidentification, specifically
    in the case of little-endian BOM of UTF-16-encoded text.
  • Rename XingTOC to XingToC.
  • Improve load(s) performance:
    * Use functools.lru_cache to remove penalty
    of calling MP3Streaminfo.find_mpeg_frames
    once when determining format of MP3s and
    again when loading the MP3.
    * Use bitstruct C extension when available.

Removed

  • extension parameter from determine_format.
    The purpose it served is no longer necessary.

Fixed

  • APEv2/ID3v1 searching for MP3 causing load failures in some cases.