summaryrefslogtreecommitdiff
path: root/audio/py-mutagen
AgeCommit message (Collapse)AuthorFilesLines
2017-06-20Changes 1.38:adam5-54/+26
* Note: New release tarballs are now hosted on github: https://github.com/quodlibet/mutagen/releases * ID3: * Add iTunes grouping frame `id3.GRP1` * Fix exposing text frames where the text can't be encoded with the reported encoding due to merging of frames * OGG: Fix wrong StreamInfo.length (small negative value) for all ogg based formats in rare cases.
2017-05-09Update audio/{py-mutagen,mutagen-tools} to 1.37.leot4-38/+104
pkgsrc changes: - Update MASTER_SITES to MASTER_SITE_PYPI - Update HOMEPAGE - Clarify - a bit - comments regarding patches/patch-aa, they're needed to omit respectively {script,module} installations due the mutagen-tools separation Changes (changelog regarding 1.27...1.31 was adjusted to only reflect changes pertinent to mutagen-tools that was not previosly synced with py-mutagen): 1.37 - 2017.02.24 ----------------- * Relicense "GPLv2" → "GPLv2 or later" :bug:`291` * DSF: add `mutagen.dsf` module for DSF (DSD Stream File) support :pr:`283` (Boris Pruessmann) * MP3: Add `mp3.MPEGInfo.encoder_settings` containing a guess of the encoder settings used, for example ``"-V2"`` for LAME :bug:`66` * ID3: add iTunes movement related frames `id3.MVIN` and `id3.MVNM` * MP4: support ``©mvi``, ``©mvc``, ``shwm``, ``stik``, ``rtng``, ``tves``, ``tvsn``, ``plID``, ``cnID``, ``geID``, ``atID``, ``sfID``, ``cmID``, ``akID`` :bug:`130` 1.36.3 - 2017.02.24 ------------------- * MP3: fix error with xing frames without a frame count :bug:`292` 1.36.2 - 2017.01.25 ------------------- * ID3: Always write little endian utf-16 with BOM. Fixes tests on big endian machines :pr:`289` 1.36.1 - 2017.01.22 ------------------- * Support GAE runtime :bug:`286` * FLAC: Fix crash when loading files with zero samples :bug:`287` * MP3: Handle broken lame tags written by older lame versions 1.36 - 2016.12.22 ----------------- * ID3: Ignore trailing empty values for v2.3 text frames :bug:`276` * ID3: Write large APIC frames last :bug:`278` * EasyID3: support saving as v2.3 :bug:`188` * FLAC: Add StreamInfo.bitrate :bug:`279` * mid3cp: Add ``--merge`` option :bug:`277` * MP4: Allow loading files without audio tracks :bug:`272` 1.35.1 - 2016.11.09 ------------------- * Revert back to distutils :bug:`273` 1.35 - 2016.11.02 ----------------- * Tests: Require pytest * Tools: Install .exe launchers on Windows * setup.py: Require setuptools * ID3: * Fix loading files with CRM frames :bug:`239` * Fix loading AENC, LINK, GRID frames with no payload * Merge duplicate text frames with same key on load :bug:`172` * Allow parsing of duplicate APIC frames :bug:`172` * Parse utf-16 text fields with missing BOM :bug:`267` * Increase max resyncs for the mpeg frame search :bug:`268` 1.34.1 - 2016.08.13 ------------------- * ID3: Expose some internals again to make Picard (mostly) work again. * http://tickets.musicbrainz.org/browse/PICARD-833 * https://github.com/metabrainz/picard/pull/479 1.34 - 2016.07.20 ----------------- * ID3: * Add `CTOC <id3.CTOC>` and `CHAP <id3.CHAP>` frames. New classes: `ID3Tags <id3.ID3Tags>`, `CTOCFlags <id3.CTOCFlags>`. :bug:`6` * Add `TCAT <id3.TCAT>`, `TKWD <id3.TKWD>`, `PCST <id3.PCST>` frames. :bug:`249` * Validate user provided LNK/LINK frameid. :bug:`242` * Add `RVAD <id3.RVAD>`, RVA frames * Add TST, TSA, TS2, TSP and TSC frames * Fix not writing optional fields when saving to v2.3 * Add default field values for all frames * Drop Python 2.6 support * EasyID3: Fix TXXX frame encoding when setting a non-latin1 encodable value after a latin1 one. :bug:`263` 1.33.2 - 2016.07.05 ------------------- * Fix loading of small ogg/apev2 files (1.33 regression) 1.33.1 - 2016.06.29 ------------------- * Fix Overeager deprecation warnings :bug:`261` 1.33 - 2016.06.29 ----------------- * FileType, Metadata: File-like object support :bug:`1` * mid3v2: Add APIC support. :bug:`47` * EasyID3: Fix handling of RVA2 frames with non-lowercase description :bug:`215` * mid3v2: Add UFID support. :bug:`234` * ID3: Include human-readable representation of the picture type in APIC._pprint() :bug:`244` * EasyID3: make albumartist use TPE2 and move performer to TXXX. :bug:`252` * ID3: id3.ID3TimeStamp comparator: check type :pr:`260` (Fabian Peter Hammerle) * setup.py: follow PEP440 for the development version * FileType/Metadata.load/save/delete no longer raise IOError or IOError subclasses. They only raise subclasses of MutagenError. 1.32 - 2016.05.02 ----------------- * Add basic SMF (Standard MIDI File) support (:mod:`mutagen.smf`) * FLAC: add ``audio/flac`` mime type. :bug:`235` * ASF: Fixed crash when object size is longer than the header and file length (Ben Ockmore) * ID3: Validate attributes set after frame creation :bb-pr:`8` (Daniel Plachotich) * MP4: validate values in ``__setitem__`` so things don't fail in save() :bug:`236` * tests: Fix SynchronizedTextSpec test on big-endian machines :bug:`247` (Daniel Plachotich) * ID3: do type checking in ``__setitem__`` :bug:`251` * Building the documentation now requires sphinx >= 1.3 * New :class:`mutagen.Tags` base class for tags * Moved from Bitbucket to GitHub 1.31 - 2015.09.10 ----------------- * Tools: Support Unicode output under Windows :bug:`232` 1.30 - 2015.08.22 ----------------- * No change relevant for tools 1.29 - 2015.05.09 ----------------- * mid3v2: Fix an error under Python 3 with files without tags :bug:`219` * mid3v2: Various Windows+Python2+Unicode fixes :bug:`214` 1.28 - 2015.03.06 ----------------- * Tools: * Add signal handling :bug:`170` * mid3cp: Make it work under Windows. * mutagen-inspect: Make it work under Windows+Python3 :bug:`216` * Support unicode file paths under Windows+Python2 :bug:`214` * Support file paths with invalid encoding under Unix+Python3.
2015-11-04Update to 1.31:wiz4-14/+31
1.31 - 2015.09.10 ----------------- * New padding control API for flac/id3/mp4/asf/ogg/aiff and everything based on it, except oggflac :bug:`229` * Mutagen will now reduce padding on save if there is lots of it. * delete() will remove padding in addition to tags. * ASF: * Padding support :bug:`201` * Don't report negative lengths for some broken files * New :class:`asf.ASFInfo`.codec_type/codec_name/codec_description * Implement ASF.delete() * OGG: Padding support for Opus/Vorbis/Theora/Speex * M4A: Implementation removed. Every operation will raise. Use mp4 instead. * Tools: Support Unicode output under Windows :bug:`232` 1.30 - 2015.08.22 ----------------- * FLAC: * Fix :meth:`flac.FLAC.save` in case the source contained a too large (invalid but recovered) image block :bug:`226` * MP3: * Improved length and bitrate accuracy: * Read lame "Info" tags for improved bitrate/length accuracy * Use bytes info of VBRI headers for improved bitrate accuracy * Subtract encoder delay/padding from length for improved length accuracy (especially for short tracks) * Fix rare false identification of Xing headers :bug:`182` * New :class:`mp3.MPEGInfo`.encoder_info attribute containing the encoder name and version :bug:`66` * New :class:`mp3.MPEGInfo`.bitrate_mode attribute exposing if the file is VBR, ABR or CBR :bug:`24` :bug:`66` * New :class:`mp3.MPEGInfo`.channels attribute providing the channel count * New :class:`mp3.MPEGInfo`.track_gain/track_peak/album_gain values exposing the replaygain info provided by the lame header :bug:`36` * ID3: * New :class:`id3.PictureType` enum for the picture type used in APIC frames :bug:`222` * MP4: * Fix MP4FreeForm.__eq__ and MP4Cover.__eq__ when comparing with bytes :bug:`218` * Don't raise on :meth:`FileType.save` if there are no tags. :bug:`227` * Minor fixes: :bug:`228` 1.29 - 2015.05.09 ----------------- * mid3v2: Fix an error under Python 3 with files without tags :bug:`219` * mid3v2: Various Windows+Python2+Unicode fixes :bug:`214` * Don't emit warnings during loading (ID3Warning) :bug:`223` * py.test support 1.28 - 2015.03.06 ----------------- * Various minor fixes to make mutagen behave the same under Python3 as under Python2. * Update gpl text :bug:`205` * Documentation: Add example for how to create a new flac.Picture :bug:`209` * ID3: * Various error handling fixes (:bug:`110`, :bug:`211`, ...) * Don't hide ID3 loading errors with ID3FileType. * In case a synch safe marked frame isn't sync safe, only warn :bug:`210` * Removed PEDANTIC mode * Tools: * Add signal handling :bug:`170` * mid3cp: Make it work under Windows. * mutagen-inspect: Make it work under Windows+Python3 :bug:`216` * Support unicode file paths under Windows+Python2 :bug:`214` * Support file paths with invalid encoding under Unix+Python3.
2015-11-03Add SHA512 digests for distfiles for audio categoryagc1-1/+2
Problems found with existing distfiles: /pub/pkgsrc/distfiles/amp-0.7.6.tgz /pub/pkgsrc/distfiles/freeswitch/freeswitch-sounds-music-32000-1.0.8.tar.gz /pub/pkgsrc/distfiles/freeswitch/freeswitch-sounds-music-48000-1.0.8.tar.gz /pub/pkgsrc/distfiles/freeswitch/freeswitch-sounds-en-us-callie-32000-1.0.22.tar.gz /pub/pkgsrc/distfiles/freeswitch/freeswitch-sounds-en-us-callie-48000-1.0.22.tar.gz /pub/pkgsrc/distfiles/freeswitch/freeswitch-sounds-fr-ca-june-32000-1.0.18.tar.gz /pub/pkgsrc/distfiles/freeswitch/freeswitch-sounds-fr-ca-june-48000-1.0.18.tar.gz /pub/pkgsrc/distfiles/freeswitch/freeswitch-sounds-ru-RU-elena-16000-1.0.12.tar.gz /pub/pkgsrc/distfiles/freeswitch/freeswitch-sounds-ru-RU-elena-32000-1.0.12.tar.gz /pub/pkgsrc/distfiles/freeswitch/freeswitch-sounds-ru-RU-elena-48000-1.0.12.tar.gz /pub/pkgsrc/distfiles/freeswitch/freeswitch-sounds-ru-RU-elena-8000-1.0.12.tar.gz /pub/pkgsrc/distfiles/freeswitch/freeswitch-sounds-fr-ca-june-32000-1.0.18.tar.gz /pub/pkgsrc/distfiles/freeswitch/freeswitch-sounds-fr-ca-june-48000-1.0.18.tar.gz /pub/pkgsrc/distfiles/freeswitch/freeswitch-sounds-ru-RU-elena-32000-1.0.13.tar.gz /pub/pkgsrc/distfiles/freeswitch/freeswitch-sounds-ru-RU-elena-48000-1.0.13.tar.gz /pub/pkgsrc/distfiles/kid3-3.3.0.tar.gz /pub/pkgsrc/distfiles/libdca-0.0.5.tar.bz2 /pub/pkgsrc/distfiles/mp3to.gz /pub/pkgsrc/distfiles/squeezeboxserver-7.5.1-noCPAN.tgz No changes made to these file. Otherwise, existing SHA1 digests verified and found to be the same on the machine holding the existing distfiles (morden). All existing SHA1 digests retained for now as an audit trail.
2015-01-06update to 1.27drochner4-15/+27
changes: -mp4 improvements -added aac support -fixes
2014-10-17update to 1.25.1drochner4-29/+54
changes: -added Python3 support -bugfixes -mp4 improvements
2014-05-09Mark packages that are not ready for python-3.3 also not ready for 3.4,wiz1-2/+2
until proven otherwise.
2014-01-25Mark packages as not ready for python-3.x where applicable;wiz1-2/+2
either because they themselves are not ready or because a dependency isn't. This is annotated by PYTHON_VERSIONS_INCOMPATIBLE= 33 # not yet ported as of x.y.z or PYTHON_VERSIONS_INCOMPATIBLE= 33 # py-foo, py-bar respectively, please use the same style for other packages, and check during updates. Use versioned_dependencies.mk where applicable. Use REPLACE_PYTHON instead of handcoded alternatives, where applicable. Reorder Makefile sections into standard order, where applicable. Remove PYTHON_VERSIONS_INCLUDE_3X lines since that will be default with the next commit. Whitespace cleanups and other nits corrected, where necessary.
2013-12-04update to 1.22drochner4-13/+22
changes: minor fixes and improvements
2013-03-15update to 1.21drochner3-8/+10
changes: -bugfixes -support more id3v2 tags
2012-10-02Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.asau1-3/+1
2012-04-08All supported python versions in pkgsrc support eggs, so removewiz1-2/+2
${PLIST.eggfile} from PLISTs and support code from lang/python.
2011-12-10distutils pkg, register egg-info.obache2-4/+5
Bump PKGREVISION.
2011-08-06Update audio/py-mutagen to 1.20gls2-6/+6
1.20 - 2010.08.04 * ASF: Don't store blocks over 64K in the MetadataObject block; use the MetadataLibraryBlock instead. (#60, Luká# Lalinský) * ID3: Faster parsing of files with lots of padding. (#65, Christoph Reiter) * FLAC: Correct check for audio data start. (#67)
2010-03-05Update py-mutagen to 1.19.obache4-14/+18
Patch provided by Wen Heping via PR#42851. 1.19 - 2010.02.18 * ID3: * POPM: 'count' is optional; the attribute may not exist. (#33) * TimeStampTextFrame: Fix a TypeError in unicode comparisons. (#43) * MakeID3v1: Translate TYER into ID3v1 year if TDRC is not present. (#42) * mid3v2: * Allow --delete followed by --frame, and --genre 1 --genre 2. (#37) * Add --quiet and --verbose flags. (#40) * moggsplit: --m3u option to write an M3U playlist of the new files. (#39) * mid3iconv: Fix crash when processing TCML or TIPL frames. (#41) * VCommentDict: Correctly normalize key names for .keys() iterator. (#45) * MP3: Correct length calculation for MPEG-2 files. (#46) * oggflac: Fix typo in docstring. (#53) * EasyID3: Force UTF-8 encoding. (#54) * EasyMP4: Fix 'genre' translation. (#56) 1.18 - 2009.10.22 * ASF: * Distinguish between empty and absent tag values in ContentDescriptionObjects. (#29) * mid3iconv: * Fix a crash when processing empty (invalid) text frames. * MAJOR API INCOMPATIBILITY!!!! * EasyID3FileType is now in mutagen.easyid3, not mutagen.id3. This change was necessary to restore API compatibility with 1.16, as 1.17 accidentally contained a circular import preventing mutagen.easyid3 from importing by itself. (#32) 1.17 - 2009.10.07 * ID3: * Support for the iTunes non-standard TSO2 and TSOC frames. * Attempt to recover from bad SYLT frames. (#2) * Attempt to recover from faulty extended header flags. (#4, #21) * Fix a bug in ID3v2.4 footer flag detection, (#5) * MP4: * Don't fail or double-encode UTF-8 strings when given a str. * Don't corrupt 64 bit atom sizes when resizing atoms. (#17) * EasyID3: * Extension API for defining new "easy" tags at runtime. * Support for many, many more tags. * OggVorbis, OggSpeex: Handle bitrates below 0 as per the spec. (#30) * EasyMP4: Like EasyID3, but for iTunes MPEG-4 files. * mutagen.File: New 'easy=True' argument to create new EasyMP3, EasyMP4, EasyTrueAudio, and EasyID3FileType instances. 1.16 - 2009.06.15 * Website / code repository move. * Bug Fixes: * EasyID3: Invalid keys now raise KeyError (and ValueError). * mutagen.File: .flac files with an ID3 tag will be opened as FLAC. * MAJOR API INCOMPATIBILITY!!!! * Python 2.6 has required us to rename the .format attribute of M4A/MP4 cover atoms, because it conflicts with the new str.format method. It has been renamed .imageformat.
2009-07-07update to 1.15drochner3-12/+12
changes: bugfixes, minor improvements
2009-06-14Remove @dirrm entries from PLISTsjoerg1-2/+1
2009-03-20Simply and speed up buildlink3.mk files and processing.joerg1-13/+6
This changes the buildlink3.mk files to use an include guard for the recursive include. The use of BUILDLINK_DEPTH, BUILDLINK_DEPENDS, BUILDLINK_PACKAGES and BUILDLINK_ORDER is handled by a single new variable BUILDLINK_TREE. Each buildlink3.mk file adds a pair of enter/exit marker, which can be used to reconstruct the tree and to determine first level includes. Avoiding := for large variables (BUILDLINK_ORDER) speeds up parse time as += has linear complexity. The include guard reduces system time by avoiding reading files over and over again. For complex packages this reduces both %user and %sys time to half of the former time.
2009-03-20Include pyversion.mk include the protected part of the buildlink3.mkjoerg1-1/+2
files, not over and over again.
2008-06-12Add DESTDIR support.joerg1-1/+3
2008-04-25Update PYTHON_VERSIONS_COMPATIBLEjoerg1-2/+1
- assume that Python 2.4 and 2.5 are compatible and allow checking for fallout. - remove PYTHON_VERSIONS_COMPATIBLE that are obsoleted by the 2.3+ default. Modify the others to deal with the removals.
2007-01-25Update to 1.10:wiz3-8/+11
1.10 - 2007.01.21 * New Features: * FLAC: Skip ID3 tags. Added option to delete them on save. * EncodedTextSpec: Make private members more private. * Corrupted Oggs generated by GStreamer (e.g. Sound Juicer) can be read. * FileTypes have a .mime attribute which is a list of likely MIME types for the file. * ASF (WMA/WMV) support. * Bug Fixes: * ID3: Fixed reading of v2.3 tags with unsynchronized data. * ID3: The data length indicator for compressed tags is written as a synch-safe integer.
2007-01-15Don't include files more often than necessary.rillig1-3/+2
2007-01-13Needs Python 2.3+joerg1-1/+2
2007-01-10add py-mutagen-1.9, a Python module to handle audio metadatadrochner6-0/+131
(This is just the Python extension part. If the command line utils are needed, a seperate pkg should be added.)