Commit graph

50 commits

Author SHA1 Message Date
Serial
a1f5c341f9 misc: Use workspace lints table
closes: #311
2024-04-23 22:02:37 -04:00
Serial
e919cd97a3 misc: Make all file writes generic 2024-04-20 12:46:11 -04:00
Serial
cf778c1f58 tag: Remove global re-exports of tag items 2024-04-14 13:16:10 -04:00
Serial
464f459e99 misc: Remove root file re-exports 2024-04-14 13:16:10 -04:00
Serial
65851a4f93 misc: Move {Parse,Write,Global}Options to new module 2024-04-14 13:16:10 -04:00
Serial
df0be9e53e misc: Introduce prelude 2024-04-14 13:16:10 -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
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
7b77c4f56f lofty_attr: Allow dead code 2024-03-28 13:54:18 -04: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
Serial
8d9c06393d lofty_attr: 0.9.0 2023-07-11 18:52:37 -04:00
Serial
c0db2db25c lofty_attr: Update dependencies 2023-07-11 18:52:37 -04:00
Serial
d4af6535ba APE: Properly convert track/disk number pairs when writing
This also changes the default track/disk number to `DEFAULT_NUMBER_IN_PAIR`.

closes #159
2023-07-03 20:07:06 -04:00
Serial
d1183c3ff7
lofty_attr: 0.8.0 2023-06-08 14:16:39 -04:00
Serial
fc1186bc5a musepack: Support MPC stream version 8 2023-06-06 10:34:37 -04:00
Serial
a845e38b60 lofty_attr: 0.7.0 2023-05-08 11:31:28 -04:00
Serial
77a05f337f lofty_attr: Update to syn 2 2023-05-08 11:31:28 -04:00
Serial
524cb45e97 lofty_attr: Update reference to ID3v2TagFlags 2023-04-28 02:17:19 -04:00
Serial
ce8c26f2b8 tag: Switch TagType variants to UpperCamelCase 2023-04-21 20:35:21 -04:00
Serial
8920a39f93 file: Switch FileType variants to UpperCamelCase 2023-04-21 20:35:21 -04:00
Serial
0b627bcbca Clippy: Apply lints to lofty_attr 2023-02-24 06:23:47 -05:00
Serial
b435484f88
lofty_attr 0.6.0 2023-01-29 12:36:00 -05:00
Serial
fee737fd4e lofty_attr: Make it possible to prevent auto impl of Into<TaggedFile> 2023-01-08 21:26:50 -05:00
Serial
a35b35efd1
lofty_attr: Cleanup LoftyFile derive somewhat 2023-01-07 18:23:08 -05:00
Serial
a5b1ccaff0 Files: Add <File>::set_{tag} 2023-01-07 00:25:22 -05:00
Serial
4d792bb480 AudioFile: Add AudioFile::save_to{_path} 2023-01-07 00:10:53 -05:00
Serial
3120e0708b
Misc: Bump deps 2022-12-27 15:50:57 -05:00
Serial
7573f60a0c TaggedFile: Split methods out into TaggedFileExt trait 2022-12-10 12:18:34 -05:00
Serial
4061426814 Clippy: Apply lints for other projects 2022-11-24 15:26:36 -05:00
Serial
7fdc3e0b2a lofty_attr: Return removed tags in <File>::remove_*
Previously, we just removed and dropped the tag. That should really be left up to the user, though.
2022-11-09 14:12:30 -05:00
Serial
643fbcb219
lofty_attr: 0.4.0 2022-10-30 16:49:47 -04:00
Alex
02f1314005
Add support for AAC (#71) 2022-10-14 09:06:27 -04:00
Serial
78723a7dd0
lofty_attr: Make it even harder to bypass the internal write module check 2022-10-14 08:22:53 -04:00
Serial
2ff86e6e00
ID3v2: Prevent read only tag bypass with ID3v2Tag::write_to 2022-10-13 19:37:59 -04:00
Serial
efab7ca276
lofty_attr: Add tag attribute macro to generate some docs 2022-10-11 19:47:54 -04:00
Serial
3a4b4f243e
lofty_attr: Add supported_formats attribute for tags 2022-10-04 00:34:20 -04:00
Serial
82a498f670
lofty_attr: Infer FileType::Custom when using non-internal names 2022-10-01 18:49:17 -04:00
Serial
3b58f16996
lofty_attr: Generate internal write modules 2022-09-24 05:25:42 -04:00
Serial
364b9a741c
lofty_attr: cleanup 2022-09-24 03:43:56 -04:00
Serial
5cd1dfc99c
lofty_attr: Remove #[lofty(always_present)] 2022-09-24 03:25:46 -04:00
Alex
ba6ef4f400
Probe: Add minimal ParseOptions (#70) 2022-09-24 02:34:22 -04:00
Serial
08082436e2
ID3v2: Use Option<T> for optional extra flag data 2022-09-14 21:31:29 -04:00
Serial
0e857de104
lofty_attr: Publish 2022-08-10 14:28:48 -04:00
Serial
f54481026e
lofty_attr: Use full path for TagType 2022-07-24 16:36:23 -04:00
Serial
0805e6683b
MP3: Rename MP3File to MPEGFile 2022-07-24 16:28:28 -04:00
Alex
f48014fda8
Implement custom file resolvers (#40) 2022-07-24 16:08:46 -04:00