Bug fix release #35

Merged
phoenix merged 6 commits from devel into main 2025-07-23 22:07:54 +00:00
3 changed files with 17 additions and 2 deletions
Showing only changes of commit 565d361b64 - Show all commits

2
Cargo.lock generated
View File

@@ -81,7 +81,7 @@ dependencies = [
[[package]]
name = "icarus_meta"
version = "0.2.1"
version = "0.2.2"
dependencies = [
"lofty",
"tempfile",

View File

@@ -1,6 +1,6 @@
[package]
name = "icarus_meta"
version = "0.2.1"
version = "0.2.2"
edition = "2024"
rust-version = "1.86"

View File

@@ -32,6 +32,21 @@ 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 {