Commit graph

221 commits

Author SHA1 Message Date
Renovate Bot
136978a2b3
Update Rust crate structopt to 0.3.26 2022-01-22 06:05:01 +00:00
Serial
c88cad09b8
Exclude unnecessary files 2022-01-13 14:47:18 -05:00
Serial
e6b714eac4 0.3.3 2022-01-09 10:10:05 -05:00
Renovate Bot
a79967ca8a
Update Rust crate tempfile to 3.3.0 2022-01-08 20:05:05 +00:00
Serial
a86738d1d4 bump ogg_pager 2022-01-08 07:18:06 -05:00
Serial
3f0d6d8b00 Update ogg_pager 2022-01-07 13:02:48 -05:00
Serial
52869915b7 0.3.2 2022-01-02 17:26:30 -05:00
Serial
749f920cf0 Change Criterion output format 2021-12-31 13:36:42 -05:00
Serial
667e2a872f 0.3.1 2021-12-24 13:33:58 -05:00
Alex
392eb69db0
Merge pull request #18 from Serial-ATA/renovate/flate2-1.x 2021-12-23 12:54:02 -05:00
Alex
79ee986cd0
Merge pull request #19 from Serial-ATA/renovate/ogg_pager-0.x 2021-12-23 12:53:50 -05:00
Renovate Bot
330313d95c
Update Rust crate paste to 1.0.6 2021-12-23 17:51:25 +00:00
Renovate Bot
9dd6e3a79e
Update Rust crate ogg_pager to 0.1.8 2021-12-23 17:51:23 +00:00
Renovate Bot
7e4a7cbf3d
Update Rust crate flate2 to 1.0.22 2021-12-23 17:51:21 +00:00
Serial
ddf449856b Prepare for release 2021-12-23 10:15:13 -05:00
Serial
8021ca924c Finalize docs 2021-12-23 10:00:54 -05:00
Serial
e5d2c4dc1f Resolve feature issues 2021-12-21 17:28:18 -05:00
Serial
ea0f3007e8 Add tag_writer example 2021-12-20 10:56:32 -05:00
Serial
6fa5ee0890 Fix benches 2021-12-10 22:09:11 -05:00
Serial
733710f8ca Overhaul Probe 2021-12-05 17:02:22 -05:00
Serial
bc0c246dbf Add format specific tag structs
This allows for the use of format-specific elements, such as ID3v2 frame headers
2021-11-21 15:18:19 -05:00
Serial
11d4d55dc8 Add Tag::remove_from, get_string, and get_binary 2021-10-01 17:59:53 -04:00
Serial
8bf22a0115 Fix ID3v2.2 reading, cleanup MPEG header reading 2021-09-19 14:48:35 -04:00
Serial
8a14ef13fb Remove cfg-if 2021-09-05 19:24:02 -04:00
Serial
6edee49207 Remove thiserror 2021-09-05 19:22:29 -04:00
Serial
441e107787 Update dependencies 2021-09-02 20:22:05 -04:00
Serial
bf703e474d Remove old dependencies 2021-09-02 20:12:14 -04:00
Serial
575d7af692 Put ID3v2 tag restrictions behind a feature, cleanup 2021-08-28 20:11:37 -04:00
Serial
2587ae0a08 Update Cargo.toml 2021-08-24 23:37:32 -04:00
Serial
92cb9d51ba Add ID3v2 reading 2021-08-24 22:54:06 -04:00
Serial
dab1fcb01b Add getters/setters for common tag items 2021-08-19 18:01:53 -04:00
Serial
60846d23dc Rename features 2021-08-18 21:58:27 -04:00
Serial
b510179372 Remove lofty-attr 2021-08-18 18:46:07 -04:00
Serial
b4f696cb59 Version bumps 2021-07-31 22:52:11 -04:00
Serial
b64091d649 Add APE property reading, remove ape as a dependency 2021-07-31 21:33:52 -04:00
Serial
efd4239c5a Rebase and update changes 2021-07-28 18:53:50 -04:00
Serial
134bef896a Update mp4ameta 2021-07-19 21:01:00 -04:00
Serial
c8f6a0ebc2 Switch to new derive proc macro 2021-07-19 12:51:08 -04:00
Serial
b5fe6c9142 Forgot to create new branch
Signed-off-by: Serial <69764315+Serial-ATA@users.noreply.github.com>
2021-07-10 22:56:48 -04:00
Serial
9f50b48764 Temporarily use rust-ape fork
Signed-off-by: Serial <69764315+Serial-ATA@users.noreply.github.com>
2021-07-10 22:53:34 -04:00
Serial
a9b78c7aa0 Start using UniCase for OGG formats
Signed-off-by: Serial <69764315+Serial-ATA@users.noreply.github.com>
2021-07-10 14:54:54 -04:00
Serial
dfd1495146 Make APE keys case insensitive as the spec isn't normally followed
Signed-off-by: Serial <69764315+Serial-ATA@users.noreply.github.com>
2021-07-10 12:49:31 -04:00
Serial
e1b7dce2cb Start using new get_set_methods macro
Signed-off-by: Serial <69764315+Serial-ATA@users.noreply.github.com>
2021-07-09 15:15:33 -04:00
Serial
10ca5c0295 Create AudioTagEdit methods with macros, remove useless methods, rename unclear methods
Signed-off-by: Serial <69764315+Serial-ATA@users.noreply.github.com>
2021-07-09 11:45:37 -04:00
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
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
Alex
ee14a905f5
Merge pull request #5 from Serial-ATA/renovate/thiserror-1.x
Update Rust crate thiserror to 1.0.26
2021-07-05 21:16:19 -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
Renovate Bot
a11162b9b1
Update Rust crate thiserror to 1.0.26 2021-07-03 05:02:02 +00: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
5ada875933 Update ogg_pager
Signed-off-by: Serial <69764315+Serial-ATA@users.noreply.github.com>
2021-06-29 15:03:07 -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
6836b759f7 Remove git dependencies
Signed-off-by: Serial <69764315+Serial-ATA@users.noreply.github.com>
2021-06-27 15:00:40 -04:00
Serial
ccabd3bedb Revert "Make lofty_attr a git only dependency"
This reverts commit 1fa9c1b7

Signed-off-by: Serial <69764315+Serial-ATA@users.noreply.github.com>
2021-06-27 14:54:19 -04:00
Serial
1fa9c1b75c Make lofty_attr a git only dependency
Signed-off-by: Serial <69764315+Serial-ATA@users.noreply.github.com>
2021-06-27 14:52:49 -04:00
Serial
e84586961b Bump version
Signed-off-by: Serial <69764315+Serial-ATA@users.noreply.github.com>
2021-06-27 14:50:27 -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
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
1071a6e2e1 Merge remote-tracking branch 'origin/main' 2021-06-27 13:56:13 -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
Alex
b56ab8d27d
Merge pull request #4 from Serial-ATA/renovate/mp4ameta-0.x
Update Rust crate mp4ameta to 0.11.0
2021-06-27 13:51:42 -04:00
Serial
a5df39de78 Update Cargo.toml, rustfmt
Signed-off-by: Serial <69764315+Serial-ATA@users.noreply.github.com>
2021-06-27 12:45:24 -04:00
Renovate Bot
659f32d88f
Update Rust crate mp4ameta to 0.11.0 2021-06-26 20:42:42 +00: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
d0e1048bea Update Cargo.toml
Signed-off-by: Serial <69764315+Serial-ATA@users.noreply.github.com>
2021-06-26 15:25:38 -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
Alex
400c9d2450
Merge pull request #2 from Serial-ATA/renovate/thiserror-1.x
Update Rust crate thiserror to 1.0.25
2021-05-25 17:11:22 -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
Renovate Bot
08a0696c5c
Update Rust crate thiserror to 1.0.25 2021-05-22 22:02:28 +00:00
Serial
9661092d3f Umbrella feature for ogg 2021-05-22 16:41:05 -04:00
Serial
377a4704a0 Update Cargo.toml 2021-05-19 15:37:44 -04:00
Serial
84df38bd0b 0.2.0 2021-05-19 15:33:05 -04:00
Serial
e0c78c109e Revert "0.2.0"
This reverts commit e2e3da7e
2021-05-19 15:30:22 -04:00
Serial
e2e3da7efb 0.2.0 2021-05-19 15:28:34 -04:00
Serial
0028651f70 Create impl_tag attribute proc macro 2021-05-18 22:21:23 -04:00
Serial
d03f206d5a Rename features 2021-05-16 23:07:26 -04:00
Serial
220a825c7b 0.1.3 2021-05-16 22:32:21 -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
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
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
1491ba55f0 Fix writing to opus 2021-04-23 18:09:36 -04:00
Serial
d0c84cf028 Up version 2021-04-23 13:38:21 -04:00
Serial
001650384c Spelling 2021-04-23 13:37:10 -04:00
Serial
6b770dc14c Give features better names 2021-04-21 14:22:52 -04:00
Serial
90161287ab Add some benchmarks for reading from extension/signature 2021-04-21 13:48:21 -04:00
Serial
05c7ac6d04 Support ID3 tags in RIFF chunks 2021-04-21 12:49:27 -04:00
Serial
7797c1e92b Forgot to remove stuff from testing
Signed-off-by: Serial <69764315+Serial-ATA@users.noreply.github.com>
2021-04-17 15:45:40 -04:00
Serial
4cc33b5e53 Start work on wav decoding
Very few IDs supported right now, test doesn't work yet, and this only supports RIFF INFO chunks, ID3 has to wait for https://github.com/polyfloyd/rust-id3/pull/64

Signed-off-by: Serial <69764315+Serial-ATA@users.noreply.github.com>
2021-04-17 15:42:06 -04:00
Serial
001c33bf86 Implement read/write for ape
Quite a few weird things had to be done due to the ape crate's choices, and ape's lack of a standardized set of keys, but it all seems to work.

Signed-off-by: Serial <69764315+Serial-ATA@users.noreply.github.com>
2021-04-15 13:26:06 -04:00
Serial
f956dfd3e2 Working (rough) implementation of write_to for ogg
ogg can now successfully be read from and written to. This breaks all other tests currently.

Signed-off-by: Serial <69764315+Serial-ATA@users.noreply.github.com>
2021-04-13 23:29:13 -04:00
Serial
7c72287586 Created conversion for metaflac::Tag -> VorbisTag, fixed inner test 2021-04-06 22:33:39 -04:00
Serial
702f6617c5 VERY rough implementation of a single VorbisTag struct for all formats using vorbis comments, seems to work so far. 2021-04-06 20:57:30 -04:00
Serial
fd7e353bb4 Change repository 2021-04-03 22:56:28 -04:00
Serial
c50e0edf67 Change license
Signed-off-by: Serial <69764315+Serial-ATA@users.noreply.github.com>
2021-04-03 14:56:29 -04:00
Serial
53fc829440 Update Cargo.toml
Signed-off-by: Serial <69764315+Serial-ATA@users.noreply.github.com>
2021-04-03 14:48:41 -04:00
Serial
030ce9c822 Remove separate macro crate
Signed-off-by: Serial <69764315+Serial-ATA@users.noreply.github.com>
2021-04-02 21:07:28 -04:00
Serial
555819e6a8 Initial work
Signed-off-by: Serial <69764315+Serial-ATA@users.noreply.github.com>
2021-04-02 20:47:44 -04:00
Tianyi
ec41e682f1 . 2020-10-29 18:03:40 +00:00
Tianyi
1206194d5f 0.2.7182 2020-10-29 18:01:21 +00:00
Tianyi
aa945ae7b6 it worked! From dyn Tag into any concrete tag without cloning 2020-10-29 13:26:35 +00:00
Tianyi Shi
47ae10071a downcast 2020-10-27 15:24:54 +00:00
Tianyi Shi
fb7f1d27c4 0.2.71 2020-10-27 12:49:44 +00:00
Tianyi Shi
864edb40a3 Merge branch 'main' into remove-cow 2020-10-27 12:44:15 +00:00
Tianyi Shi
d0b2409164 remove cow 2020-10-27 12:43:32 +00:00
Tianyi
29add10c34 . 2020-10-27 12:42:59 +00:00
Tianyi
d4af2dcb03 prevent clone 2020-10-27 12:01:15 +00:00
Tianyi
f2c743d81e . 2020-10-27 11:44:57 +00:00
Tianyi
6abb1e9d4d config 2020-10-27 11:40:51 +00:00
Tianyi
d2d1bedafa v0.2.3 2020-10-27 02:40:57 +00:00
Tianyi
bf71a050df 0.2.2 2020-10-27 00:52:29 +00:00
Tianyi
b4f2ae38ef v0.2.1 2020-10-26 23:19:49 +00:00
Tianyi
276302b607 better error handling 2020-10-26 23:16:04 +00:00
Tianyi
7450d36348 convert tags; 0.2.0 2020-10-26 20:43:11 +00:00
Tianyi
3b1280fcee cow 2020-10-26 15:37:10 +00:00
Tianyi
aabb741a6c add some tests 2020-10-26 01:43:18 +00:00
Tianyi
8d4d3fa4a5 0.1.0 2020-10-25 21:39:38 +00:00
Tianyi
5dffc0ee55 0.0.2 2020-10-25 16:29:14 +00:00
Tianyi
d9fd42f491 use mp4ameta = 0.5.1 2020-10-25 15:44:45 +00:00
Tianyi
57171bd561 0.0.1 2020-10-25 14:58:50 +00:00