Compare commits

...

11 Commits

Author SHA1 Message Date
phoenix 2a798dea9c Next release (#14)
Reviewed-on: #14
2025-04-19 21:27:21 +00:00
phoenix 000639b0f8 added_types (#26)
Reviewed-on: #26
Co-authored-by: phoenix <kundeng00@pm.me>
Co-committed-by: phoenix <kundeng00@pm.me>
2025-04-19 21:19:01 +00:00
phoenix 2932cdbe1c Added counts for disc and track (#25)
Reviewed-on: #25
Co-authored-by: phoenix <kundeng00@pm.me>
Co-committed-by: phoenix <kundeng00@pm.me>
2025-04-19 01:37:16 +00:00
phoenix f534687292 refactor (#24)
Reviewed-on: #24
Co-authored-by: phoenix <kundeng00@pm.me>
Co-committed-by: phoenix <kundeng00@pm.me>
2025-04-19 01:31:57 +00:00
phoenix c80bc7d7e1 remove_picture (#23)
Reviewed-on: #23
Co-authored-by: phoenix <kundeng00@pm.me>
Co-committed-by: phoenix <kundeng00@pm.me>
2025-04-19 01:07:49 +00:00
phoenix 805dfb269b Contains pictures (#22)
Reviewed-on: #22
Co-authored-by: phoenix <kundeng00@pm.me>
Co-committed-by: phoenix <kundeng00@pm.me>
2025-04-19 00:52:14 +00:00
phoenix 43774fe580 Cover art code (#21)
Reviewed-on: #21
Co-authored-by: phoenix <kundeng00@pm.me>
Co-committed-by: phoenix <kundeng00@pm.me>
2025-04-18 00:37:42 +00:00
phoenix e0e9eab98c Update sample tracks with cover art (#20)
Reviewed-on: #20
Co-authored-by: phoenix <kundeng00@pm.me>
Co-committed-by: phoenix <kundeng00@pm.me>
2025-04-16 23:34:54 +00:00
phoenix 7c1881d102 Set Meta (#19)
Reviewed-on: #19
Co-authored-by: phoenix <kundeng00@pm.me>
Co-committed-by: phoenix <kundeng00@pm.me>
2025-04-16 02:25:12 +00:00
phoenix 5e57b9146c Release (#8)
Reviewed-on: #8
2025-04-12 19:32:16 +00:00
phoenix 0dc8c153d2 devel (#3)
Reviewed-on: #3
2025-03-30 18:11:03 +00:00
8 changed files with 1163 additions and 202 deletions
+4 -1
View File
@@ -1,9 +1,12 @@
[package] [package]
name = "icarus_meta" name = "icarus_meta"
version = "0.1.0" version = "0.1.30"
edition = "2024" edition = "2024"
rust-version = "1.86" rust-version = "1.86"
[dependencies] [dependencies]
lofty = { version = "0.22.3" } lofty = { version = "0.22.3" }
icarus_models = { git = "ssh://git@git.kundeng.us/phoenix/icarus_models.git", tag = "v0.4.3" } icarus_models = { git = "ssh://git@git.kundeng.us/phoenix/icarus_models.git", tag = "v0.4.3" }
[dev-dependencies]
tempfile = { version = "3.19.1" }
+1139 -201
View File
File diff suppressed because it is too large Load Diff
+20
View File
@@ -7,4 +7,24 @@ pub enum Type {
Date, Date,
Track, Track,
Disc, Disc,
TrackCount,
DiscCount,
}
pub mod access {
pub fn get_type(t: super::Type) -> Result<String, std::io::Error> {
match t {
super::Type::Title => Ok("TITLE".to_owned()),
super::Type::Artist => Ok("ARTIST".to_owned()),
super::Type::Album => Ok("ALBUM".to_owned()),
super::Type::AlbumArtist => Ok("ALBUMARTIST".to_owned()),
super::Type::Genre => Ok("GENRE".to_owned()),
super::Type::Date => Ok("DATE".to_owned()),
super::Type::Track => Ok("TRACKNUMBER".to_owned()),
super::Type::Disc => Ok("DISCNUMBER".to_owned()),
super::Type::TrackCount => Ok("TRACKCOUNT".to_owned()),
super::Type::DiscCount => Ok("DISCCOUNT".to_owned()),
}
}
} }
Binary file not shown.

After

Width:  |  Height:  |  Size: 9.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 39 KiB

Binary file not shown.
Binary file not shown.
Binary file not shown.