Commit graph

1544 commits

Author SHA1 Message Date
Serial
df0be9e53e misc: Introduce prelude 2024-04-14 13:16:10 -04:00
Serial
9cf5d9c2ab
changelog: Remove PR links 2024-04-09 20:33:58 -04:00
Serial
bae5f27909
changelog: Add entry for new ChannelMask methods 2024-04-09 20:31:34 -04:00
Serial
3f607f5526
changelog: Add entries for Opus and AAC changes 2024-04-09 20:30:28 -04:00
Serial
c9738c84fd
AAC: Create a ChannelMask for AacProperties 2024-04-09 20:29:25 -04:00
Serial
1ff1f8a441
Opus: Create a ChannelMask for OpusProperties 2024-04-09 20:28:51 -04:00
Serial
5c69024b91 Properties: Breakup module
`FileProperties` and `ChannelMask` are no longer in the root. They are moved to `lofty::properties`.
2024-04-09 20:04:43 -04:00
Serial
b407fcf3fb Properties: Remove unused import 2024-04-09 19:46:57 -04:00
Serial
8eb7c06adb ChannelMask: Implement BitOr and BitAnd
This also adds associated constants for common channels.
2024-04-09 19:46:57 -04:00
Serial
2f2263378b benches: Switch to iai_callgrind + Bencher 2024-04-09 16:25:13 -04:00
Serial
b110072f84 ParseOptions: Stop deriving Ord
This was copied from some other struct when `ParseOptions` was made. It obviously should not exist.
2024-04-09 13:21:29 -04:00
Serial
31e3b8e7e9 WAV: Properly round length and bitrate values 2024-04-09 13:14:23 -04:00
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