icarus_meta -> simeta
This commit is contained in:
+5
-6
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user