added_types (#26)

Reviewed-on: #26
Co-authored-by: phoenix <kundeng00@pm.me>
Co-committed-by: phoenix <kundeng00@pm.me>
This commit is contained in:
phoenix
2025-04-19 21:19:01 +00:00
committed by phoenix
parent 2932cdbe1c
commit 000639b0f8
3 changed files with 176 additions and 1 deletions
+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()),
}
}
}