fix: wrong unwrap causing the artist folder to be literally None

This commit is contained in:
2026-09-04 21:14:55 +02:00
parent 0d06183291
commit 6c5b0e1c5f
+1 -1
View File
@@ -18,7 +18,7 @@ pub fn move_files(
let album = tag.album(); let album = tag.album();
let title = tag.title(); let title = tag.title();
let track_number = tag.get_string(ItemKey::TrackNumber); let track_number = tag.get_string(ItemKey::TrackNumber);
let album_artist_path = tag.get_string(ItemKey::AlbumArtist).unwrap_or("None"); let album_artist_path = tag.get_string(ItemKey::AlbumArtist).unwrap_or("");
let artist_dir = if !album_artist_path.is_empty() { let artist_dir = if !album_artist_path.is_empty() {
Some(album_artist_path) Some(album_artist_path)