added_types (#26)

Reviewed-on: phoenix/icarus_meta#26
Co-authored-by: phoenix <kundeng00@pm.me>
Co-committed-by: phoenix <kundeng00@pm.me>
This commit is contained in:
phoenix authored and phoenix committed 2025-04-19 21:19:01 +00:00
1 parent 2932cdbe1c
commit 000639b0f8
3 files changed
+176 -1

No files matched your search

+4
View File
@@ -7,6 +7,8 @@ pub enum Type {
Date,
Track,
Disc,
TrackCount,
DiscCount,
}
pub mod access {
@@ -21,6 +23,8 @@ pub mod access {
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()),
}
}
}