Compare commits

..
Author SHA1 Message Date
phoenix e11ec6ffd0 Bug fix and minor changes release (#28)
Reviewed-on: phoenix/icarus_meta#28
2025-06-24 23:53:20 +00:00
phoenix 2a798dea9c Next release (#14)
Reviewed-on: phoenix/icarus_meta#14
2025-04-19 21:27:21 +00:00
phoenix 5e57b9146c Release (#8)
Reviewed-on: phoenix/icarus_meta#8
2025-04-12 19:32:16 +00:00
phoenix 0dc8c153d2 devel (#3)
Reviewed-on: phoenix/icarus_meta#3
2025-03-30 18:11:03 +00:00
4 changed files with 3 additions and 28 deletions
Generated
+1 -1
View File
@@ -81,7 +81,7 @@ dependencies = [
[[package]]
name = "icarus_meta"
version = "0.2.2"
version = "0.2.0"
dependencies = [
"lofty",
"tempfile",
+1 -1
View File
@@ -1,6 +1,6 @@
[package]
name = "icarus_meta"
version = "0.2.2"
version = "0.2.0"
edition = "2024"
rust-version = "1.86"
+1 -11
View File
@@ -21,17 +21,7 @@ pub mod coverart {
match lofty::picture::PictureInformation::from_picture(&pic) {
Ok(info) => {
flac_file.set_picture(0, pic.clone(), info);
match flac_file.save_to_path(
song_filepath,
lofty::config::WriteOptions::default(),
) {
Ok(_) => Ok(pic.into_data()),
Err(err) => Err(std::io::Error::new(
std::io::ErrorKind::InvalidData,
err.to_string(),
)),
}
Ok(pic.into_data())
}
Err(err) => Err(std::io::Error::new(
std::io::ErrorKind::InvalidData,
-15
View File
@@ -32,21 +32,6 @@ impl MetadataType {
}
}
pub fn all_metadata_types() -> Vec<Type> {
vec![
Type::Album,
Type::Artist,
Type::AlbumArtist,
Type::Date,
Type::Disc,
Type::Genre,
Type::Title,
Type::Track,
Type::TrackCount,
Type::DiscCount,
]
}
pub mod access {
pub fn get_type(t: super::Type) -> Result<String, std::io::Error> {
match t {