Commit graph

1714 commits

Author SHA1 Message Date
Serial
001c5a7cec Properties: Remove old comment about FFmpeg reported bitrate
Turns out our value of `280` is correct and matches FFmpeg.
2023-12-05 14:32:33 -05:00
Serial
25785701bd MP4: Check if audio streams are DRM protected
Credit to `Lukáš Lalinský` for finding the location of the undocumented `drms` atom.
Source: <https://mail.kde.org/pipermail/taglib-devel/2011-March/001886.html>
2023-12-03 16:22:33 -05:00
Serial
558d7cc2f7 ID3v1: Rename GENRES[14] to "R&B" 2023-12-03 15:18:08 -05:00
Serial
f5b5dea583
0.17.1
Signed-off-by: Serial <69764315+Serial-ATA@users.noreply.github.com>
2023-11-26 13:31:01 -05:00
Serial
a6f9776417 fmt
Signed-off-by: Serial <69764315+Serial-ATA@users.noreply.github.com>
2023-11-20 12:20:29 -05:00
Serial
a08a7c84c1 MP4: Skip over invalid ilst atoms by default
Signed-off-by: Serial <69764315+Serial-ATA@users.noreply.github.com>
2023-11-20 12:20:29 -05:00
Serial
487d241903
0.17.0: Attempt 2 2023-11-15 12:10:55 -05:00
Serial
10e2fe35b5
benches: Move assets outside of benches
Also specify the paths of the benchmarks, since publishing breaks when it cannot find them.
2023-11-15 12:09:52 -05:00
Serial
d7199f1b71
0.17.0
Signed-off-by: Serial <69764315+Serial-ATA@users.noreply.github.com>
2023-11-15 11:57:48 -05:00
Serial
ace222b2c8
misc: Update dependencies
Signed-off-by: Serial <69764315+Serial-ATA@users.noreply.github.com>
2023-11-15 11:55:31 -05:00
sublipri
ed623c44c8 ID3v2: Use genres method in Accessor genre getter 2023-11-04 21:57:03 -04:00
sublipri
f1afc3efda ID3v2: Add genres method to Id3v2Tag 2023-11-04 21:57:03 -04:00
Serial
23c334e1de ID3v2: Properly handle multi-value UTF-16 encoded frames 2023-10-27 10:47:06 -04:00
Uwe Klotz
9985a55e02 Add utf8_decode_str()/trim_end_nulls_str() to avoid/defer allocations 2023-10-26 13:26:21 -04:00
Uwe Klotz
7398602e78 Strip trailing null characters from decoded text 2023-10-25 11:52:31 -04:00
sublipri
486cba1f04 ID3v2: Trim trailing nulls in some frames' content 2023-10-23 19:56:33 -04:00
sublipri
0cd16bda35 util: Add helper function to trim trailing nulls 2023-10-23 19:56:33 -04:00
sublipri
f45d1d3676 ID3v2: Add test for frames with null terminators 2023-10-23 19:56:33 -04:00
Serial
66c63afb97 Benches: Add picture and encoder to create_tag benchmark 2023-10-23 12:52:42 -04:00
Serial
af3b98d441 Benches: Switch to using real-world assets 2023-10-23 12:52:42 -04:00
Serial
776c7dadcb changelog: Update entries with PR link 2023-10-23 12:02:01 -04:00
Serial
e5756758f0 ParseOptions: Add a note about alloc limits being retained 2023-10-23 12:02:01 -04:00
Serial
fc9877a567 Error: Make ErrorKind::TooMuchData's message less confusing 2023-10-23 12:02:01 -04:00
Serial
172e8ff957 Probe: Fix doc test for set_file_type 2023-10-23 12:02:01 -04:00
Serial
6e92de1aa1 Clippy: Allow into_iter_without_iter 2023-10-23 12:02:01 -04:00
Serial
acb613da14 Alloc: Verify allocation sizes using configured value 2023-10-23 12:02:01 -04:00
Serial
c848e54d1f Probe: Support builder pattern for set_file_type() 2023-10-23 12:02:01 -04:00
Serial
ab828fbe15 ParseOptions: Add allocation_limit() 2023-10-23 12:02:01 -04:00
Serial
f08da59e24 alloc: Bump allocation limit to 16MB 2023-10-23 12:02:01 -04:00
Serial
b36e62d98a
FileType: Update primary_tag_type() table 2023-10-23 00:46:10 -04:00
Serial
8a7f91582b Fuzz: Add target for Probe::read 2023-10-22 23:44:21 -04:00
Serial
8c9ec0f178 Fuzz: Read properties in file read targets
No idea why all of the targets had `read_properties(false)`.
2023-10-22 23:32:44 -04:00
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