Serial
d51a151407
VorbisComments: Check ItemKey::Unknown
for spec compliance in Tag
conversion
2023-10-17 19:25:16 -04:00
Serial
8edf76e121
VorbisComments: Add Tag
conversion docs
2023-10-17 19:15:09 -04:00
Serial
8c3d24410b
RIFF: Improve Tag
conversion docs
2023-10-17 19:15:09 -04:00
Serial
4635973233
AIFF: Improve Tag
conversion docs
2023-10-17 19:15:09 -04:00
Serial
d2e8a91bac
ID3v2: Fix missing plural
2023-10-17 19:15:09 -04:00
Serial
657cab6726
ID3v1: Improve Tag
conversion docs
2023-10-17 19:15:09 -04:00
Serial
7745c682a8
APE: Add docs for conversion to Tag
2023-10-17 19:15:09 -04:00
Serial
272ba84027
ID3v1: Stop erroring on inputs smaller than 128 bytes
2023-10-17 18:16:51 -04:00
Serial
a01c114dfe
MP4: Remove duplicate track/disc methods on Ilst
...
These came awhile before the `Accessor` methods, and managed to stick around for almost a year and a half after the fact.
2023-10-17 14:31:35 -04:00
Serial
cab578de74
MP4: Add a test for handling invalid atom types in Ilst
2023-10-17 14:12:11 -04:00
Serial
adc3b0ac9c
MP4: Use late init in AtomInfo::read
2023-10-17 14:12:11 -04:00
Uwe Klotz
f0953a6e78
mp4: Match on all parse modes
2023-10-17 14:12:11 -04:00
Uwe Klotz
d73fd81e9e
mp4: Avoid mutable data
2023-10-17 14:12:11 -04:00
Uwe Klotz
15f3b16d7c
mp4: Extract atom identifier check into function
2023-10-17 14:12:11 -04:00
Serial
eff0d0d9e6
MP4: Attempt to detect invalid atom identifiers
...
This follows the checks of TagLib: <b40b834b1b/taglib/mp4/mp4atom.cpp (L89)
>.
2023-10-17 14:12:11 -04:00
Serial
b87afe4ee8
0.16.1
2023-10-15 11:41:17 -04:00
Uwe Klotz
328fc7c35b
Clarify dependency of guess_file_type() on ParseOptions
2023-10-03 12:36:50 -04:00
Uwe Klotz
2b814cdc4a
mp4: Skip unexpected or empty "data" ilst atoms
2023-10-02 09:03:36 -04:00
Uwe Klotz
be0f24b9e6
Fix typo
2023-10-02 08:52:10 -04:00
Serial
5d6160f80d
0.16.0
2023-10-01 11:23:17 -04:00
Serial
aca058b7fa
misc: Update dependencies
2023-10-01 11:23:17 -04:00
Serial
aa50837ecc
Tests: Fix old Id3v2Tag tests
2023-10-01 11:00:05 -04:00
Serial
9554295e51
ID3v2: Add Id3v2Tag::get_texts
2023-10-01 11:00:05 -04:00
Serial
be6eb07c30
ID3v2: Stop using &str
for frame IDs
2023-10-01 11:00:05 -04:00
Serial
4767f5da08
ID3v2: Don't expect text frames to be terminated
2023-10-01 10:19:18 -04:00
Serial
d4916c4bbc
Clippy: Allow some new lints
2023-09-30 13:50:05 -04:00
Serial
aea857cec2
Tests/Fuzz: Fix arguments to Picture::from_flac_bytes
2023-09-30 13:50:05 -04:00
Serial
9ae927ceb0
FLAC: Don't error by default on invalid picture types
...
FLAC picture blocks have `u32::MAX` possible picture types, but only 20 are actually defined. In the [spec] it states, "Others are reserved and should not be used."
We used to only allow a picture type of up to 255 to be in sync with ID3v2's APIC, where this model comes from. Now any picture type can be specified and it will just be clamped to 255, so long as `ParsingMode::Strict` is not being used.
2023-09-30 13:50:05 -04:00
Serial
15d9ca812c
OGG: Support reading COVERART fields
2023-09-30 13:50:05 -04:00
dependabot[bot]
51517d3bd1
build(deps): bump actions/checkout from 3 to 4
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-09-04 14:25:56 -04:00
Serial
6a3f912db3
misc: Create FUNDING.yml
2023-08-20 10:05:38 -04:00
Serial
bdfe1a8cfc
ID3v2: Move all header related items to v2::header module
2023-07-30 21:10:42 -04:00
Serial
553d16fa88
APE: Fix property reading on old stream versions
...
This also makes property reading take `ParsingMode` into account.
2023-07-28 13:14:56 -04:00
Serial
6cab8aa088
WavPack: Stop overwriting custom sample rates
...
When a custom sample rate (or multiplier) was encountered, it would accidentally be overwritten with 0, causing incorrect duration and bitrate values.
This was due to us reading the metadata sub blocks first (when necessary) and then immediately overwriting the sample rate with the value from the block header (which is 0 in the presence of a custom sample rate).
2023-07-27 16:45:04 -04:00
Serial
5eb032a3d4
FLAC: Do not error on multiple VorbisComments when not strict
...
This is not allowed [by spec](https://xiph.org/flac/format.html#def_VORBIS_COMMENT ), but is still possible to encounter in the wild. Now we will just tag whichever tag happens to be latest in the stream and use it, they **will not be merged** like other formats (such as ID3v2 in MP3) where multiple tags are valid.
2023-07-27 05:18:42 -04:00
Serial
3755fbf813
MP4: Fix integer shrinking
...
This feature wasn't finished, unsure how it wasn't caught sooner. In its current state it'll panic on most numbers. Guess we just got lucky.
2023-07-27 05:18:16 -04:00
Serial
e622a671a7
MP4: Merge existing atoms in Ilst::insert
...
Now, when inserting an atom that already exists in a tag, the data is taken from the provided atom and merged with the existing value in the tag. This should ensure that the value that already exists in the tag will remain the dominant one.
2023-07-25 17:11:36 -04:00
Serial
acc3c9ff11
MP4: Fix incomplete example for Atom::into_data
2023-07-25 17:11:36 -04:00
Serial
1a8ea4da77
changelog: Add entries for MP4 changes
2023-07-25 17:11:36 -04:00
Serial
bd96b4f2ed
MP4: Properly handle covrs
...
Previously, `Ilst::insert_picture` would insert a new `covr` atom, and `Ilst::pictures` would check for multiple `covr` atoms. Now, when inserting pictures they will all be merged into a single atom.
Additionally, `Ilst::insert` will check for `covr` atom inserts, and perform `Ilst::insert_picture` correctly.
2023-07-25 17:11:36 -04:00
Serial
c078126577
MP4: Make Ilst::remove
return all removed atoms
2023-07-25 17:11:36 -04:00
Serial
abf6b40057
MP4: Add Atom::{merge, into_data}
2023-07-25 17:11:36 -04:00
Uwe Klotz
903cc9d678
Fix typo
2023-07-22 09:45:11 -04:00
Uwe Klotz
36be050059
Add doc comments to ItemKey
2023-07-22 09:18:50 -04:00
Uwe Klotz
15ded5a3d4
id3v2: Add comment about handling of MusicBrainzRecordingId
2023-07-21 11:09:40 -04:00
Serial
3fe1de57cd
changelog: Add entries for Id3v2Tag
and FrameId
changes
2023-07-21 02:52:49 -04:00
Serial
6296eec578
ID3v2: Make Id3v2Tag::remove
take a FrameId
...
This makes it more type safe and removes the unnecessary caseless string comparison.
2023-07-21 02:52:49 -04:00
Serial
5164ba3862
ID3v2: Implement Into<Cow<'_, str>>
for FrameId
...
This makes it possible to use `FrameId`s in `Frame::new`. It's not much less annoying to create frames using constant IDs.
2023-07-21 02:52:49 -04:00
Serial
a7af2f777c
Clippy: Fix unreadable_literal
2023-07-20 12:48:06 -04:00
Serial
4a60c1c4e2
Clippy
2023-07-20 12:48:06 -04:00