summaryrefslogtreecommitdiffstats
path: root/clerk
diff options
context:
space:
mode:
Diffstat (limited to 'clerk')
-rwxr-xr-xclerk6
1 files changed, 3 insertions, 3 deletions
diff --git a/clerk b/clerk
index d2b0e59..ee5c7a4 100755
--- a/clerk
+++ b/clerk
@@ -519,7 +519,7 @@ AddAlbum() {
artist=$(echo "$TRACK" | awk -F " $seperator " '{print $1}')
date=$(echo "$TRACK" | awk -F " $seperator " '{print $3}')
album=$(echo "$TRACK" | awk -F " $seperator " '{print $2}')
- mppc searchadd date "$date" album "$album" artist "$artist"
+ mppc searchadd date "$date" album "$album" $mpd_artist "$artist"
fi
fi
done < <(echo -e "Adding Mode: Add\n----------------\n$(echo "$album_temp")" | dmenu_t -dmenu -p "Choose Album > ")
@@ -537,7 +537,7 @@ InsertAlbum() {
artist=$(echo "$TRACK" | awk -F " $seperator " '{print $1}')
date=$(echo "$TRACK" | awk -F " $seperator " '{print $3}')
album=$(echo "$TRACK" | awk -F " $seperator " '{print $2}')
- mpc search date "$date" album "$album" artist "$artist" | mpc insert
+ mpc search date "$date" album "$album" $mpd_artist "$artist" | mpc insert
fi
fi
done < <(echo -e "Adding Mode: Insert\n----------------\n$(echo "$album_temp")" | dmenu_t -dmenu -p "Choose Album > ")
@@ -554,7 +554,7 @@ else
artist=$(echo "$TRACK" | awk -F " $seperator " '{print $1}')
date=$(echo "$TRACK" | awk -F " $seperator " '{print $3}')
album=$(echo "$TRACK" | awk -F " $seperator " '{print $2}')
- mpc clear && mpc findadd date "$date" album "$album" artist "$artist" && mpc play
+ mpc clear && mpc findadd date "$date" album "$album" $mpd_artist "$artist" && mpc play
fi
fi
}