feat: add warning for missing title when falling back to file stem

This commit is contained in:
Mark
2026-03-31 19:00:12 +02:00
parent 3b544d834a
commit 8d4d418166

View File

@@ -267,6 +267,12 @@ fn main() {
.title() .title()
.and_then(|title| { .and_then(|title| {
if title.trim().is_empty() { if title.trim().is_empty() {
if verbosity > 0 {
eprintln!(
"Title of song {:?} not found in tags, using {} (from filename) instead!",
song_path.display(), song_path.file_stem().unwrap().display(),
);
}
None None
} else { } else {
Some(title.to_string()) Some(title.to_string())