Serial
e949d2bb85
Add support for AIFF chunks
...
Signed-off-by: Serial <69764315+Serial-ATA@users.noreply.github.com>
2021-07-07 17:29:53 -04:00
Serial
ca52551807
Add empty defaults to AudioTagEdit methods
...
Signed-off-by: Serial <69764315+Serial-ATA@users.noreply.github.com>
2021-07-07 15:07:50 -04:00
Serial
0126bbcd8f
Fix error message
...
Signed-off-by: Serial <69764315+Serial-ATA@users.noreply.github.com>
2021-07-06 22:17:48 -04:00
Serial
46a94874fa
Remove pointless conversions in RIFF
...
Signed-off-by: Serial <69764315+Serial-ATA@users.noreply.github.com>
2021-07-06 21:55:10 -04:00
Serial
9698e3cbc0
Cleanup
...
Signed-off-by: Serial <69764315+Serial-ATA@users.noreply.github.com>
2021-07-06 21:33:10 -04:00
Serial
fe1c81b583
Remove pointless const
...
Signed-off-by: Serial <69764315+Serial-ATA@users.noreply.github.com>
2021-07-06 21:25:58 -04:00
Serial
5980432beb
Further RIFF cleanup
...
Signed-off-by: Serial <69764315+Serial-ATA@users.noreply.github.com>
2021-07-06 21:25:11 -04:00
Serial
d403b11783
RIFF cleanup
...
Signed-off-by: Serial <69764315+Serial-ATA@users.noreply.github.com>
2021-07-06 12:17:08 -04:00
Serial
2a3e54ba25
Remove riff as a dependency
...
Signed-off-by: Serial <69764315+Serial-ATA@users.noreply.github.com>
2021-07-06 11:29:00 -04:00
Serial
b0709c0e8f
Remove useless RiffTag methods
...
Signed-off-by: Serial <69764315+Serial-ATA@users.noreply.github.com>
2021-07-05 23:56:49 -04:00
Serial
25f0341757
Fix ape panic
...
Signed-off-by: Serial <69764315+Serial-ATA@users.noreply.github.com>
2021-07-05 23:15:45 -04:00
Serial
d97a9ac6e7
Document concrete types
...
Signed-off-by: Serial <69764315+Serial-ATA@users.noreply.github.com>
2021-07-05 21:13:03 -04:00
Serial
275faf4d2d
Document AnyTag -> concrete conversion, fix various doc comments
...
Signed-off-by: Serial <69764315+Serial-ATA@users.noreply.github.com>
2021-07-05 21:07:05 -04:00
Serial
e103a481df
No longer store artists in a Vec, and stop assuming the delimiter
...
Signed-off-by: Serial <69764315+Serial-ATA@users.noreply.github.com>
2021-07-05 20:49:19 -04:00
Serial
5754fd7c67
Fix missing feature lock
...
Signed-off-by: Serial <69764315+Serial-ATA@users.noreply.github.com>
2021-07-05 20:35:37 -04:00
Serial
95a486e339
Add AnyTag::new
...
Signed-off-by: Serial <69764315+Serial-ATA@users.noreply.github.com>
2021-07-05 20:27:59 -04:00
Serial
445d5751b6
Make OggTag::write_to guess the format from the file content, finish up fixing features
...
Signed-off-by: Serial <69764315+Serial-ATA@users.noreply.github.com>
2021-06-30 01:00:40 -04:00
Serial
e7af53dde7
Fix accidental redefinition
...
Signed-off-by: Serial <69764315+Serial-ATA@users.noreply.github.com>
2021-06-29 23:40:48 -04:00
Serial
3eac3b5bc2
Continue to fix feature issues
...
Signed-off-by: Serial <69764315+Serial-ATA@users.noreply.github.com>
2021-06-29 23:38:20 -04:00
Serial
cc8a0a21d5
Rename VorbisTag, fix feature issue
...
Signed-off-by: Serial <69764315+Serial-ATA@users.noreply.github.com>
2021-06-29 23:18:54 -04:00
Serial
1df0908c38
Remove old comments
...
Signed-off-by: Serial <69764315+Serial-ATA@users.noreply.github.com>
2021-06-29 23:09:58 -04:00
Serial
b80d8a062f
Preserve OggFormat when converting to TagType::Ogg
...
Signed-off-by: Serial <69764315+Serial-ATA@users.noreply.github.com>
2021-06-29 14:51:08 -04:00
Serial
845456b9c7
Fix spacing
...
Signed-off-by: Serial <69764315+Serial-ATA@users.noreply.github.com>
2021-06-29 14:45:57 -04:00
Serial
30d62a9064
Remove a comment that no longer applies
...
Signed-off-by: Serial <69764315+Serial-ATA@users.noreply.github.com>
2021-06-29 14:44:58 -04:00
Serial
f250101028
Missed a mention of duration
...
Signed-off-by: Serial <69764315+Serial-ATA@users.noreply.github.com>
2021-06-27 14:46:20 -04:00
Serial
d5be11a40e
Remove duration feature, out of the scope of this crate
...
Signed-off-by: Serial <69764315+Serial-ATA@users.noreply.github.com>
2021-06-27 14:42:50 -04:00
Serial
6959474c18
Add some comments
...
Signed-off-by: Serial <69764315+Serial-ATA@users.noreply.github.com>
2021-06-27 14:29:44 -04:00
Serial
bd183a821b
Downgrade mp4ameta due to lifetime issues
...
Signed-off-by: Serial <69764315+Serial-ATA@users.noreply.github.com>
2021-06-27 14:15:31 -04:00
Serial
f75e693b7d
Remove lewton and ogg as dependencies
...
Signed-off-by: Serial <69764315+Serial-ATA@users.noreply.github.com>
2021-06-27 13:56:08 -04:00
Serial
4498e04068
Multi-page write for Opus/Vorbis
...
Signed-off-by: Serial <69764315+Serial-ATA@users.noreply.github.com>
2021-06-27 13:47:27 -04:00
Serial
5c73d485fb
Update vorbis_tag.rs
...
Signed-off-by: Serial <69764315+Serial-ATA@users.noreply.github.com>
2021-06-27 13:45:18 -04:00
Serial
ea0c6931b6
Do Picture conversion immediately after read
...
Signed-off-by: Serial <69764315+Serial-ATA@users.noreply.github.com>
2021-06-27 13:44:42 -04:00
Serial
d4148cf5da
Actually retain the audio data in FLAC
...
Signed-off-by: Serial <69764315+Serial-ATA@users.noreply.github.com>
2021-06-27 13:43:06 -04:00
Serial
804f8f42a9
Add read function for vorbis/opus
...
Signed-off-by: Serial <69764315+Serial-ATA@users.noreply.github.com>
2021-06-27 12:49:08 -04:00
Serial
abe18f6242
Fix set_track method
...
Signed-off-by: Serial <69764315+Serial-ATA@users.noreply.github.com>
2021-06-27 12:34:07 -04:00
Serial
181b4cfef0
Update error.rs
...
Signed-off-by: Serial <69764315+Serial-ATA@users.noreply.github.com>
2021-06-26 17:04:02 -04:00
Serial
f10165f728
Move OGG page logic to its own crate
...
Signed-off-by: Serial <69764315+Serial-ATA@users.noreply.github.com>
2021-06-26 16:39:01 -04:00
Serial
7b58e72657
Add crc32 function for OGG pages
...
Signed-off-by: Serial <69764315+Serial-ATA@users.noreply.github.com>
2021-06-26 15:41:34 -04:00
Serial
2b1b009c1a
Update TagType in traits.rs
...
Signed-off-by: Serial <69764315+Serial-ATA@users.noreply.github.com>
2021-06-26 15:37:50 -04:00
Serial
0a7b327c03
Update tags
...
Signed-off-by: Serial <69764315+Serial-ATA@users.noreply.github.com>
2021-06-26 15:35:39 -04:00
Serial
730ce2ff6a
Separate flac
...
Signed-off-by: Serial <69764315+Serial-ATA@users.noreply.github.com>
2021-06-26 15:33:17 -04:00
Serial
5dd38003d6
Separate Riff
...
Signed-off-by: Serial <69764315+Serial-ATA@users.noreply.github.com>
2021-06-26 15:32:51 -04:00
Serial
1448d8cca9
Fix modules missing feature conditions
...
Signed-off-by: Serial <69764315+Serial-ATA@users.noreply.github.com>
2021-06-26 15:06:39 -04:00
Serial
4ebf885eaa
Reorder PictureType methods, fix Album comment
...
Signed-off-by: Serial <69764315+Serial-ATA@users.noreply.github.com>
2021-06-26 14:48:47 -04:00
Serial
ca0c03ddf1
Cleanup errors, add generic read_from_reader function, remove multiple useless File::open calls
...
Signed-off-by: Serial <69764315+Serial-ATA@users.noreply.github.com>
2021-06-26 14:46:30 -04:00
Serial
ce76d861b6
Less verbose README, fix comments
...
Signed-off-by: Serial <69764315+Serial-ATA@users.noreply.github.com>
2021-06-20 23:24:59 -04:00
Serial
8a09b90811
Change errors
...
Signed-off-by: Serial <69764315+Serial-ATA@users.noreply.github.com>
2021-05-25 17:22:53 -04:00
Serial
5f8e114f8e
Ape no longer requires filepath
...
Signed-off-by: Serial <69764315+Serial-ATA@users.noreply.github.com>
2021-05-25 16:44:20 -04:00
Serial
9661092d3f
Umbrella feature for ogg
2021-05-22 16:41:05 -04:00
Serial
338d90968c
Uncheck write for opus since there's no multi-page support yet
2021-05-19 15:31:57 -04:00
Serial
18edf1eebc
Improve docs
2021-05-19 15:25:09 -04:00
Serial
63a92c87ef
Fix writing to flac + some cleanup
2021-05-19 15:01:44 -04:00
Serial
0d5724d661
Pictures now parse properly
2021-05-19 01:00:18 -04:00
Serial
a6d49fd9ce
Support new pictures and proc macro
2021-05-18 22:26:27 -04:00
Serial
25368a428f
Picture overhaul
2021-05-18 22:24:53 -04:00
Serial
81e561263e
Remove old macros file
2021-05-18 22:22:55 -04:00
Serial
d03f206d5a
Rename features
2021-05-16 23:07:26 -04:00
Serial
9637923284
Note
2021-05-16 22:30:23 -04:00
Serial
b9ee301756
Remove old TODOs
2021-05-16 21:49:46 -04:00
Serial
36d9d5195a
Partial cover support for MP4
...
Since MP4 doesn't let you differentiate one image from another, all images are PictureType::Other, and all back_cover functions are aliases for front_cover.
2021-05-16 21:46:05 -04:00
Serial
16f4ecce0d
Cover support for ape
2021-05-16 21:12:38 -04:00
Serial
29ff3d8030
Start work to support back covers
...
Signed-off-by: Serial <69764315+Serial-ATA@users.noreply.github.com>
2021-05-16 13:16:57 -04:00
Serial
79cbbd5339
Make filepath an optional dependency
...
Signed-off-by: Serial <69764315+Serial-ATA@users.noreply.github.com>
2021-05-16 02:47:26 -04:00
Serial
7f0501d95d
Add date method
...
Signed-off-by: Serial <69764315+Serial-ATA@users.noreply.github.com>
2021-05-16 02:41:16 -04:00
Serial
ce1f873fee
Version 0.1.2
...
Signed-off-by: Serial <69764315+Serial-ATA@users.noreply.github.com>
2021-05-16 01:32:25 -04:00
Serial
9dccd733a2
Start tracking duration availability
...
Signed-off-by: Serial <69764315+Serial-ATA@users.noreply.github.com>
2021-05-16 00:44:05 -04:00
Serial
83a0f84b9e
Fully document the crate
...
Signed-off-by: Serial <69764315+Serial-ATA@users.noreply.github.com>
2021-05-16 00:39:19 -04:00
Serial
ccf9367b4e
Support multiple picture types
...
This will be used in the future, for now only the front cover is accessible. This doesn't fully work for opus due to opus_headers only storing a single k/v pair.
Signed-off-by: Serial <69764315+Serial-ATA@users.noreply.github.com>
2021-05-15 23:44:10 -04:00
Serial
028afaa9ee
Only read RIFF INFO LISTs instead of all LISTs
...
Signed-off-by: Serial <69764315+Serial-ATA@users.noreply.github.com>
2021-05-15 20:57:31 -04:00
Serial
c285b36629
Album cover support for ogg/opus/flac
2021-04-23 21:15:33 -04:00
Serial
946d19e0e1
Fix links
2021-04-23 18:12:55 -04:00
Serial
1491ba55f0
Fix writing to opus
2021-04-23 18:09:36 -04:00
Serial
14c04f3ae8
Support writing to opus
2021-04-23 13:31:35 -04:00
Serial
c182b293fb
Fix all clippy errors
2021-04-22 22:57:47 -04:00
Serial
c372a491a7
Make clippy happy
2021-04-22 22:50:13 -04:00
Serial
202c9e91f0
Forgot to update feature list
2021-04-22 18:04:48 -04:00
Serial
754bf03413
Make things less confusing to use
2021-04-22 18:01:09 -04:00
Serial
bd48066b64
Add extra verification to tests
2021-04-22 13:56:51 -04:00
Serial
afbdd35493
Add aif extension
2021-04-22 13:27:50 -04:00
Serial
186d540d00
Clippy
2021-04-22 12:59:16 -04:00
Serial
dc23ec1ffd
Support AIFF
2021-04-22 12:57:20 -04:00
Serial
fbfe0e916b
Cleanup
2021-04-22 11:15:19 -04:00
Serial
b08efcc3ff
Remove old lints
2021-04-21 14:58:53 -04:00
Serial
587de8f0a6
Comments for Vorbis/RiffFormat
2021-04-21 14:53:11 -04:00
Serial
3be3bf8880
Better table in README
2021-04-21 14:48:45 -04:00
Serial
79c03431bf
Forgot to change TagType::Vorbis's features
2021-04-21 14:24:24 -04:00
Serial
6b770dc14c
Give features better names
2021-04-21 14:22:52 -04:00
Serial
de334cc62b
Clippy
2021-04-21 13:51:51 -04:00
Serial
90161287ab
Add some benchmarks for reading from extension/signature
2021-04-21 13:48:21 -04:00
Serial
4d65545940
Update README
2021-04-21 13:03:06 -04:00
Serial
bc2bb8a92c
Neater imports
2021-04-21 12:56:35 -04:00
Serial
05c7ac6d04
Support ID3 tags in RIFF chunks
2021-04-21 12:49:27 -04:00
Serial
4e01f98463
Use the correct names
2021-04-21 11:06:41 -04:00
Serial
297db6fbac
Move some conversions to impl_tag macro
2021-04-20 23:14:17 -04:00
Serial
253609cc4b
Add the ability to guess file format from file signature
...
Adds a new DetermineFrom enum to be used in Tag::read_from_path. This allows you to choose between guessing from extension or file signature.
2021-04-20 23:06:03 -04:00
Serial
8ff6bb52c8
Start work on duration
...
Added a duration field to each tag struct, and implemented duration reading for mp3. All other tags return None for now.
2021-04-20 15:15:05 -04:00
Serial
0dd57cc4da
Remove old trait
2021-04-20 12:21:09 -04:00
Serial
cdfa5de045
Forgot to remove old album_artists_vec method for Mp4Tag
2021-04-20 12:06:39 -04:00
Serial
e5231567cc
Remove add_artist and add_album_artist
...
These were useless methods that shouldn't be handled by lofty anyway
2021-04-20 11:25:09 -04:00
Serial
f5c743f3aa
Finish all methods except for album covers
...
Signed-off-by: Serial <69764315+Serial-ATA@users.noreply.github.com>
2021-04-18 15:32:59 -04:00