We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
TrackTypeInput
TrackType
1 parent 61721f3 commit 1a9bbbbCopy full SHA for 1a9bbbb
1 file changed
anni-metadata/src/annim/query/album.rs
@@ -203,6 +203,14 @@ impl From<&crate::model::TrackType> for TrackTypeInput {
203
204
impl From<TrackTypeInput> for crate::model::TrackType {
205
fn from(value: TrackTypeInput) -> Self {
206
- value.into()
+ match value {
207
+ TrackTypeInput::Normal => crate::model::TrackType::Normal,
208
+ TrackTypeInput::Instrumental => crate::model::TrackType::Instrumental,
209
+ TrackTypeInput::Absolute => crate::model::TrackType::Absolute,
210
+ TrackTypeInput::Drama => crate::model::TrackType::Drama,
211
+ TrackTypeInput::Radio => crate::model::TrackType::Radio,
212
+ TrackTypeInput::Vocal => crate::model::TrackType::Vocal,
213
+ TrackTypeInput::Unknown => crate::model::TrackType::Normal,
214
+ }
215
}
216
0 commit comments