Commit graph

100 commits

Author SHA1 Message Date
Serial
d0a381278f Switch to using "/" as a separator
Signed-off-by: Serial <69764315+Serial-ATA@users.noreply.github.com>
2021-04-18 14:25:11 -04:00
Serial
b072f0b0e5 Finally separate VorbisTag::read_from_path from the other tags
Signed-off-by: Serial <69764315+Serial-ATA@users.noreply.github.com>
2021-04-18 14:07:26 -04:00
Serial
48e6182e3a WAV now rereads properly
Signed-off-by: Serial <69764315+Serial-ATA@users.noreply.github.com>
2021-04-18 13:45:53 -04:00
Serial
3df43317fd Forgot some MP4 extensions
Signed-off-by: Serial <69764315+Serial-ATA@users.noreply.github.com>
2021-04-18 00:24:32 -04:00
Serial
c886cc87be Implement read/write for WAV (RIFF INFO LIST)
This format is pretty limited, and a few non-standard IDs were used, so there's a high chance the data will be inaccurate. At least it works somewhat :)

Signed-off-by: Serial <69764315+Serial-ATA@users.noreply.github.com>
2021-04-18 00:12:47 -04:00
Serial
511aa597b2 Would make sense to stop reading when the end is reached :)
Signed-off-by: Serial <69764315+Serial-ATA@users.noreply.github.com>
2021-04-17 17:09:32 -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
e59a41420b Much nicer supported formats table :)
Signed-off-by: Serial <69764315+Serial-ATA@users.noreply.github.com>
2021-04-16 16:02:12 -04:00
Serial
4d6f2db8e9 Ape is no longer TODO :)
Signed-off-by: Serial <69764315+Serial-ATA@users.noreply.github.com>
2021-04-15 13:40:54 -04:00
Serial
a0e7a31322 Add test assets to gitignore
Forgot to do this earlier

Signed-off-by: Serial <69764315+Serial-ATA@users.noreply.github.com>
2021-04-15 13:33:50 -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
04a9ab4634 Clippy and some more doc comments
Signed-off-by: Serial <69764315+Serial-ATA@users.noreply.github.com>
2021-04-15 11:53:10 -04:00
Serial
ae81ff21e9 Clippy and misc cleanup
Signed-off-by: Serial <69764315+Serial-ATA@users.noreply.github.com>
2021-04-14 12:17:38 -04:00
Serial
0ec56ca015 Created conversion for VorbisTag -> metaflac::Tag
This fixes write_to for flac.

Signed-off-by: Serial <69764315+Serial-ATA@users.noreply.github.com>
2021-04-14 11:14:08 -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
88ecd1c136 Forgot to delete the old files 2021-04-06 20:58:15 -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
c835687098 Actually use the correct name 2021-04-06 17:55:39 -04:00
Serial
9eda7096d2 Get rid of some warnings 2021-04-06 16:50:46 -04:00
Serial
f9d8981ca2 Fix existing tests 2021-04-06 16:37:31 -04:00
Serial
a56417ffe4 Merge remote-tracking branch 'origin/main' 2021-04-03 23:33:03 -04:00
Serial
0a9d87553f Move assets to tests folder 2021-04-03 23:32:54 -04:00
Alex
e5bc09efe3
Update README.md 2021-04-03 23:15:06 -04:00
Alex
770b35af81
Update README.md 2021-04-03 23:11:35 -04:00
Serial
fd7e353bb4 Change repository 2021-04-03 22:56:28 -04:00
Serial
2bf7daa918 Even more doc comments
Signed-off-by: Serial <69764315+Serial-ATA@users.noreply.github.com>
2021-04-03 22:46:58 -04:00
Serial
9950eea7fa Start work to use Album struct in AnyTag
Signed-off-by: Serial <69764315+Serial-ATA@users.noreply.github.com>
2021-04-03 22:38:48 -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
efbb05d9aa Cleanup gitignore
Signed-off-by: Serial <69764315+Serial-ATA@users.noreply.github.com>
2021-04-03 14:34:05 -04:00
Serial
8c1f016e6d Forgot the opus sample
Signed-off-by: Serial <69764315+Serial-ATA@users.noreply.github.com>
2021-04-03 14:32:25 -04:00
Serial
4e33e9edaa Implemented read_from_path and a test for opus
Signed-off-by: Serial <69764315+Serial-ATA@users.noreply.github.com>
2021-04-03 14:31:13 -04:00
Serial
4ba25553e1 Rename get/set functions
Signed-off-by: Serial <69764315+Serial-ATA@users.noreply.github.com>
2021-04-03 14:09:30 -04:00
Serial
521f53a9a7 Added extra tests for future formats, ogg test passes
Signed-off-by: Serial <69764315+Serial-ATA@users.noreply.github.com>
2021-04-03 14:00:21 -04:00
Serial
271cc15fa1 Further improve docs
Signed-off-by: Serial <69764315+Serial-ATA@users.noreply.github.com>
2021-04-03 13:03:40 -04:00
Serial
fce2ade6ed Separate types
Signed-off-by: Serial <69764315+Serial-ATA@users.noreply.github.com>
2021-04-03 12:29:51 -04:00
Serial
cd96dfca0b Begin cleanup and reorganization
Signed-off-by: Serial <69764315+Serial-ATA@users.noreply.github.com>
2021-04-03 12:19:21 -04:00
Serial
de1422d7b3 Fix more docs
Signed-off-by: Serial <69764315+Serial-ATA@users.noreply.github.com>
2021-04-03 11:44:33 -04:00
Serial
070717fee5 Add functions to set/append artists and fix some doc comments.
Signed-off-by: Serial <69764315+Serial-ATA@users.noreply.github.com>
2021-04-02 21:43:32 -04:00
Serial
71fd86af4c Update LICENSE, delete changelog
Signed-off-by: Serial <69764315+Serial-ATA@users.noreply.github.com>
2021-04-02 21:14:10 -04:00
Alex
398be28c77
Update README.md 2021-04-02 21:11:24 -04:00
Alex
1e69cafa36
Update README.md 2021-04-02 21:08:31 -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
ac0cbbc53b Remove old docs
Signed-off-by: Serial <69764315+Serial-ATA@users.noreply.github.com>
2021-04-02 21:03:57 -04:00
Serial
71a062ed4e Update README.md
Signed-off-by: Serial <69764315+Serial-ATA@users.noreply.github.com>
2021-04-02 21:02:20 -04:00
Alex
d92feae583
Update README.md 2021-04-02 20:50: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
0ac19f09b4 Merge branch 'main' of https://github.com/TianyiShi2001/audiotags into main 2020-10-29 18:23:13 +00:00