Commit graph

126 commits

Author SHA1 Message Date
Serial
510079c94e
MP4: Cleanup return 2022-10-11 03:47:12 -04:00
Serial
3a4b4f243e
lofty_attr: Add supported_formats attribute for tags 2022-10-04 00:34:20 -04:00
Alex
ba6ef4f400
Probe: Add minimal ParseOptions (#70) 2022-09-24 02:34:22 -04:00
Serial
899f4e4664
Misc: Add decode_err! macro to cleanup FileDecodingError creation 2022-09-11 23:03:32 -04:00
Serial
9e82df3893
ID3v2: Extract out util::text_utils
This is used in multiple other places, makes sense to just make these utils global.
2022-08-22 22:26:42 -04:00
Serial
81a8a616c1
Clippy: Revert assertions_on_result_states 2022-08-02 21:58:13 -04:00
Serial
390512bda3
MP4: Add Atom::push_data 2022-07-30 19:47:47 -04:00
Serial
c4fa8f99d8
MP4: Return all values in Atom::data 2022-07-30 19:41:13 -04:00
Serial
f54481026e
lofty_attr: Use full path for TagType 2022-07-24 16:36:23 -04:00
Alex
f48014fda8
Implement custom file resolvers (#40) 2022-07-24 16:08:46 -04:00
Serial
5e35896dff
Misc: Add err! macro 2022-07-12 14:46:30 -04:00
Serial
5c5c95418c
MP4: Fix subtraction 2022-07-11 23:09:06 -04:00
Serial
542f7dabc7
MP4: Better handle invalid atom sizes 2022-07-11 23:01:17 -04:00
Serial
3a11c2b04c
MP4: Cleanup docs 2022-07-06 23:46:13 -04:00
Serial
e245155f99
MP4: Add test for empty ilst 2022-07-05 22:38:55 -04:00
Serial
e1c10bee66
MP4: Support property reading for files with FLAC audio 2022-07-05 13:14:09 -04:00
Serial
39477efe17
Clippy: fix explicit_auto_deref 2022-07-03 17:43:10 -04:00
Serial
03276db157
Tags: Implement new accessor methods 2022-06-20 11:17:10 -04:00
Serial
28fe204058
Accessor: Add {set_, remove_}track 2022-06-10 10:32:15 -04:00
Serial
829b3e0e95
Clippy: misc 2022-06-10 08:35:26 -04:00
Serial
fa2a263a5c
Clippy: derive_partial_eq_without_eq 2022-06-10 08:26:29 -04:00
Serial
4420f92a9f
Tag: Properly capitalize TagType variants 2022-06-07 20:00:05 -04:00
Serial
6f3d569c21
WavPack: Implement property reading 2022-05-30 14:55:20 -04:00
Serial
b5478d1f1d
MP4: Support atoms with multiple values 2022-05-13 17:06:55 -04:00
Serial
b69d7c082f
MP4: Fix mdat search 2022-04-30 12:58:30 -04:00
Serial
caf043a3a2
MP4: Fallback to bitrate calculation from mdat when necessary 2022-04-29 21:12:49 -04:00
Serial
679cac6173
MP4: Fix hang when reading invalid padding 2022-04-29 20:35:40 -04:00
Serial
87315321ef
Cleanup 2022-04-13 13:28:48 -04:00
Serial
86a24b2032
MP4: Rename AdvisoryRating::None 2022-03-28 19:18:35 -04:00
Serial
b41cd32677
Fix a feature issue; cleanup 2022-03-26 12:52:26 -04:00
Serial
559b5a4e34
MP4: Read the Audio Specific Config's channel config 2022-03-25 20:27:50 -04:00
Serial
12b919871d
Add TagExt::clear 2022-03-18 15:22:40 -04:00
Serial
93a85b39d9
MP4: Add AudioObjectType and Mp4Codec::MP3 2022-03-12 12:58:48 -05:00
Serial
74622d6796
Add some possible TODOs 2022-03-09 21:51:14 -05:00
Serial
d530fc3133
MP4: Fix reading of sample rates for object types > 31 2022-03-09 21:38:27 -05:00
Serial
768fc8d875
Support the ALS codec for MP4; Fix MP4 property reading 2022-03-08 23:08:04 -05:00
Serial
d86e007fe7
Handle non-full meta atoms 2022-03-06 13:17:16 -05:00
Serial
b6221c18b2
Remove types module 2022-03-04 09:07:17 -05:00
Serial
6bfe8453a0
Add Ilst::{atoms, retain}, relocate ApeTag 2022-02-25 20:38:58 -05:00
Serial
be4e2a9866
Utilize free atoms when writing; Fix meta atom writing 2022-02-20 18:00:00 -05:00
Serial
dde40b78db
Fix MP4 integer pair writing 2022-02-19 19:48:19 -05:00
Serial
e01d875e05
Remove unwraps; Stop taking references to Copy types 2022-02-19 10:14:14 -05:00
Serial
e66ab4587d
Finalize Accessor and TagExt documentation 2022-02-19 09:39:09 -05:00
Serial
74b4374172
Don't write 3 byte integers 2022-02-19 08:44:34 -05:00
Serial
9150c6c547
Shrink variable-size integers when writing 2022-02-19 01:03:26 -05:00
Serial
69b4e2307f
Discard empty atoms 2022-02-19 00:32:16 -05:00
Serial
4c0b7c2273
Add rtng atom support 2022-02-18 08:50:39 -05:00
Serial
c70e8ee454
Expand struct definitions in doc comments 2022-02-18 08:03:46 -05:00
Serial
a1e5a0f670
Add mp4::constants for data type codes 2022-02-18 07:57:26 -05:00
Serial
19b46c6a96
Add a special case for plID atom 2022-02-17 18:53:51 -05:00
Serial
bca87bcece
Continued cleanup 2022-02-15 18:26:29 -05:00
Serial
6bb0427c84
Make all property structs non-exhaustive 2022-02-14 21:19:05 -05:00
Serial
2ccb38a97d
Make PictureType and Mp4Codec non-exhaustive 2022-02-13 20:32:55 -05:00
Serial
91e5d5984b Switch to cfg-if for rustfmt support 2022-02-12 14:33:00 -05:00
Serial
8b39695a61 Add more lints 2022-02-12 14:12:55 -05:00
Serial
2763fccffa Continue to make use of fallible allocation 2022-02-08 20:56:11 -05:00
Serial
9e18616a68
Fix panic in Mp4File::read_from 2022-02-07 10:03:28 -05:00
Serial
d13f01d215
Cleanup; Make use of doc_cfg 2022-02-04 00:59:20 -05:00
Serial
a179cfe736
Start work on TagIO trait
This is the start of making Lofty more general purpose, allowing for the creation of custom tags.

This also makes `TagType::remove_from*` fallible, which makes much more sense.
2022-02-02 22:10:04 -05:00
Serial
cb7abdb7af Overhaul LoftyError 2022-01-27 15:53:41 -05:00
Serial
d9174697d3 Fix MP4 audio bitrate 2022-01-24 11:05:12 -05:00
Alex
b4d56ab841
Merge pull request #31 from sagudev/main 2022-01-24 09:11:45 -05:00
sagudev
bd896287b6 bit-depth for ALAC and getter for wav 2022-01-24 06:35:15 +01:00
Serial
81bce69d18 Cleanup 2022-01-23 14:11:16 -05:00
sagudev
29378f53a5 bit_depth prototype 2022-01-22 19:54:42 +01:00
Serial
cefc383123 Fix some doc comments 2022-01-09 09:57:43 -05:00
Serial
42688daee8 Fix feature issues 2022-01-08 11:22:38 -05:00
Serial
a49a655f55 Add unstable rustfmt options 2022-01-05 13:26:56 -05:00
Serial
7942a5bd84 Add tests for dump_to 2022-01-05 12:52:29 -05:00
Serial
94e5ed635f Add Tag::dump_to 2022-01-05 12:50:54 -05:00
Serial
612a8b062e Preserve track/disc numbers when converting Ilst 2022-01-02 17:12:16 -05:00
Serial
aa1c306f76 Add accessors for ilst int pairs, convert gnre when reading 2022-01-02 16:08:12 -05:00
Serial
af37013e54 Improve speed of MP3 property reading
This also adds Mp3File::read_properties, which will eventually be added to all files.
2021-12-29 16:36:37 -05:00
Serial
17f771d8a8 Add some QOL methods 2021-12-24 13:16:27 -05:00
Serial
8021ca924c Finalize docs 2021-12-23 10:00:54 -05:00
Serial
8f2f7ba484 Restructure project 2021-12-22 09:49:43 -05:00