From b4c5fa64cc2693a37f4cc0710eadab118126895d Mon Sep 17 00:00:00 2001 From: Hyperling Date: Wed, 19 Mar 2025 07:55:05 -0700 Subject: [PATCH] Fix incorrect variable assignment. --- refactor_music_library.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/refactor_music_library.sh b/refactor_music_library.sh index 6e46971..6b396b3 100755 --- a/refactor_music_library.sh +++ b/refactor_music_library.sh @@ -195,7 +195,7 @@ function migrate_music { # Prefer Artist, then Band, then Albumartist grandparent="" if [[ -n $album ]]; then - grandparent="$album" + grandparent="$artist" elif [[ -n $band ]]; then grandparent="$band" elif [[ -n $album_artist ]]; then