icarus_meta -> simeta

This commit is contained in:
2026-07-16 14:00:23 -04:00
parent 7e92c10b25
commit b69d3c0067
3 changed files with 40 additions and 49 deletions
+5 -6
View File
@@ -30,9 +30,8 @@ pub async fn some_work(
println!("Updated queued song");
println!("Response: {_inner_response:?}");
let song_type = String::from(
icarus_meta::detection::song::constants::FLAC_TYPE,
);
let song_type =
String::from(simeta::detection::song::constants::FLAC_TYPE);
match crate::api::create_song::create(
app, &metadata, user_id, &song_type,
@@ -223,11 +222,11 @@ async fn init_queued_coverart(
bytes: Vec<u8>,
) -> crate::queued_item::QueuedCoverArt {
// TODO: Consider separating song and coverart when saving to the filesystem
let covart_type = if file_type == icarus_meta::detection::coverart::constants::PNG_TYPE {
let covart_type = if file_type == simeta::detection::coverart::constants::PNG_TYPE {
simodels::types::CoverArtType::PngExtension
} else if file_type == icarus_meta::detection::coverart::constants::JPEG_TYPE {
} else if file_type == simeta::detection::coverart::constants::JPEG_TYPE {
simodels::types::CoverArtType::JpegExtension
} else if file_type == icarus_meta::detection::coverart::constants::JPG_TYPE {
} else if file_type == simeta::detection::coverart::constants::JPG_TYPE {
simodels::types::CoverArtType::JpgExtension
} else {
simodels::types::CoverArtType::None