Commit graph

1632 commits

Author SHA1 Message Date
Serial
fbaf325405 benches: Fix create_tag compilation 2024-04-09 13:14:15 -04:00
Serial
25dd1e7ba8 WavPack: Add a TODO for unknown sample counts 2024-04-06 00:43:52 -04:00
Serial
17a9261449 APE: Leave retaining read-only items for the future 2024-04-03 12:52:07 -04:00
Serial
c28df06416 FLAC: Respect preferred padding 2024-04-03 12:52:07 -04:00
Serial
d6d570fd83 WriteOptions: Add best practice doc comment 2024-04-03 12:52:07 -04:00
Serial
586f4add11 WriteOptions: Use default() instead of new() 2024-04-03 12:52:07 -04:00
Serial
81cac10bf6 WriteOptions: Make preferred_padding a u32 2024-04-03 12:52:07 -04:00
Serial
9f33e1af15 WriteOptions: Add notes to method docs 2024-04-03 12:52:07 -04:00
Serial
9de613c585 WriteOptions: Expand uppercase_id3v2_chunk doc 2024-04-03 12:52:07 -04:00
Serial
396427f034 WriteOptions: Remove useless Ord derives 2024-04-03 12:52:07 -04:00
Serial
f4611ca357 misc: Introduce WriteOptions
This allows the caller to tweak how Lofty writes their tags in various ways.

As this is just a dumping ground for all sorts of format-specific settings, this is best used as an application global config that gets set once.

In its current state, it will only respect `uppercase_id3v2_chunk` and `preferred_padding` (for some formats).

`respect_read_only` and `remove_others` are defined for later use.

closes #228
2024-04-03 12:52:07 -04:00
Serial
09a425e94c ID3v2: Fix overflow with large RVA2 peak
closes #295
2024-04-03 12:45:42 -04:00
Serial
1b8b519543 Vorbis: Fix panic with zero-length property reads
closes #342
2024-04-03 12:41:44 -04:00
Serial
a54861b02c ID3: Search through junk in find_id3v2() 2024-03-29 12:01:25 -04:00
Serial
87028cfa18 Accessor: Remove slashes in example 2024-03-28 13:54:26 -04:00
Serial
7b77c4f56f lofty_attr: Allow dead code 2024-03-28 13:54:18 -04:00
Serial
9559f09a61 misc: Remove redundant Try{From, Into} imports
Apparently these traits are in the prelude now.
2024-03-27 13:37:42 -04:00
Uwe Klotz
17b56505cc Run cargo-diet 2024-03-18 11:18:06 -04:00
Serial
f5ea28624e doc: Add logo to rustdoc 2024-03-09 21:43:49 -05:00
Serial
daf1339aae README: Give Lofty a logo 2024-03-09 21:43:49 -05:00
Uwe Klotz
e66aaabbf5 id3v2: Do not replace non-empty frames with duplicate, empty frames 2024-02-22 11:49:08 -05:00
Serial
04ad40381b
0.18.2 2024-01-23 15:50:51 -05:00
Serial
1370be7894 MP4: Stop overwriting file with padding on tag shrink 2024-01-23 14:21:32 -05:00
Serial
20b6c601eb
changelog: Add missing entries 2024-01-20 11:46:30 -05:00
Serial
47735dd592
0.18.1 2024-01-20 11:40:23 -05:00
Serial
304feb9434 MP4: Properly handle offset updates for shrinking tags 2024-01-20 11:38:33 -05:00
Serial
0933898728 CONTRIBUTING: Fix indent 2024-01-20 10:02:14 -05:00
Serial
4410844969 CONTRIBUTING: Finish tag tests section 2024-01-20 10:02:14 -05:00
Serial
a0faa7800c CONTRIBUTING: Describe test assets 2024-01-20 10:02:14 -05:00
Serial
4e29ed2867 CONTRIBUTING: fixups 2024-01-20 10:02:14 -05:00
Serial
38e0634e8a CONTRIBUTING: Start work on new tag docs 2024-01-20 10:02:14 -05:00
Serial
70fa597953 CONTRIBUTING: Add docs for creating new file formats 2024-01-20 10:02:14 -05:00
Serial
be36d32038 CONTRIBUTING: Add docs for creating PRs 2024-01-20 10:02:14 -05:00
Serial
ffa4d9281d misc: Start working on CONTRIBUTING.md 2024-01-20 10:02:14 -05:00
Serial
9c0ea926c6 lofty_attr: Clippy 2024-01-19 13:28:47 -05:00
Serial
a3ec394e7c lofty_attr: Bump version 2024-01-19 13:28:47 -05:00
Serial
c867491303 lofty_attr: Cleanup LoftyTag impl 2024-01-19 13:28:47 -05:00
Serial
1b0b001016 lofty_attr: Continued cleanup of LoftyFile impl 2024-01-19 13:28:47 -05:00
Serial
d3cb052f24 lofty_attr: Start rewrite 2024-01-19 13:28:47 -05:00
Uwe Klotz
626666fac3 id3v2: Fix parsing of UTF-16 when BOM is missing 2024-01-14 16:35:40 -05:00
Uwe Klotz
be63601960 Delete redundant code 2024-01-13 18:41:16 -05:00
Uwe Klotz
26fb51dce6 mp4: Consider track/disc number <= 0 as invalid and missing 2024-01-13 18:41:16 -05:00
Uwe Klotz
76915d72bb mp4: Fix conversion of u16 track/disc numbers to BE bytes 2024-01-13 18:41:16 -05:00
Serial
1c670819e0
0.18.0 2024-01-12 08:12:29 -05:00
Serial
a56d40c77b
Clippy: Fix needless_option_as_deref 2024-01-12 08:12:25 -05:00
Serial
9dcd5fdef8 Bump version 2024-01-12 08:07:37 -05:00
Serial
df23c16246 changelog: Update for 0.18.0 2024-01-12 08:07:37 -05:00
Serial
2880bc832c Update deps 2024-01-12 08:07:37 -05:00
Uwe Klotz
ac20868438 Reword Bpm/IntegerBpm comments 2024-01-11 17:28:26 -05:00
Uwe Klotz
7f479d6cc7 ItemKey: Distinguish between Bpm and IntegerBpm 2024-01-11 17:28:26 -05:00