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
Serial
a024282546
changelog: Add entry for Id3v2Tag::get_text
change
2024-01-11 13:17:58 -05:00
Serial
a05311dcd4
ID3v2: Stop editing the string in Id3v2Tag::get_text()
...
Convenient null separator handling is now exclusively done for `Accessor` methods. For all other use cases, the caller is given the raw string, with separators intact.
2024-01-11 13:17:58 -05:00
Serial
04a577bdfa
MP4/ID3v2: Better handling of flag items
2024-01-11 12:44:13 -05:00
Uwe Klotz
f4be1e3775
Fail CI build on clippy warnings
2024-01-06 13:28:58 -05:00
Uwe Klotz
0f06fa3de2
vorbis: Fix unreachable pattern in ItemKey mapping
2024-01-06 13:28:47 -05:00
Uwe Klotz
accdea1e4d
Rename ItemKey variants to PascalCase
2024-01-06 13:21:07 -05:00
Uwe Klotz
2651eb22bd
MimeType: Implement Display instead of ToString
2024-01-06 13:20:48 -05:00
Uwe Klotz
5700ef13ac
Rename PodcastReleaseDate to ReleaseDate
2024-01-05 17:30:35 -05:00
Serial
09cac3348a
Add back dates marker comment
2024-01-05 00:25:55 -05:00
Uwe Klotz
74b1bb8374
Add more date/year mappings from MusicBrainz Picard
2024-01-05 00:25:55 -05:00