Apply metadata to queued song #27
@@ -218,6 +218,12 @@ pub async fn apply_metadata(
|
|||||||
Some(val) => String::from(val),
|
Some(val) => String::from(val),
|
||||||
None => String::new(),
|
None => String::new(),
|
||||||
};
|
};
|
||||||
|
|
||||||
|
if s_path.is_empty() {
|
||||||
|
println!("Song queue path is empty");
|
||||||
|
return Ok(false);
|
||||||
|
}
|
||||||
|
|
||||||
let types = song_io::metadata_types().await;
|
let types = song_io::metadata_types().await;
|
||||||
|
|
||||||
for t in types {
|
for t in types {
|
||||||
|
|||||||
Reference in New Issue
Block a user