You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
.spawn();//.expect("Failed to execute cmd message");
235
-
match command {
236
-
Ok(mut child) => {
237
-
match child.wait() {
238
-
Ok(_) => {
239
-
add_metadata(song, &mut temp_dir, &download_dir);
240
-
},
241
-
Err(_) => {
242
-
logging(Severities::WARNING, "Error occured while running command, skipping ID3 tags");
243
-
}
244
-
}
245
-
},
246
-
Err(err) => {
247
-
println!("{}",err.to_string());
248
-
if err.to_string().contains("The filename or extension is too long") {
249
-
logging(Severities::CRITICAL, "Song too long");
250
-
} else {
251
-
logging(Severities::CRITICAL, format!("Failed to execute cmd command, make sure the mp3cat file is in the same folder as the scdownload.exe, if that doesn't work, please contact the developer with this message : {:?}",err));
0 commit comments