summaryrefslogtreecommitdiffstats
path: root/clerk
diff options
context:
space:
mode:
Diffstat (limited to 'clerk')
-rw-r--r--clerk2
1 files changed, 1 insertions, 1 deletions
diff --git a/clerk b/clerk
index 48f5fb9..05a1af1 100644
--- a/clerk
+++ b/clerk
@@ -708,7 +708,7 @@ rateAlbum () {
echo "artist="$(mpc current --format %artist%)"" >> "$(mpc current -f %$mpd_artist%--%date%--%album%).ratings"
echo "album="$(mpc current --format %album%)"" >> "$(mpc current -f %$mpd_artist%--%date%--%album%).ratings"
echo "date="$(mpc current --format %date%)"" >> "$(mpc current -f $albumartist--%date%--%album%).ratings"
- echo "directory="$(dirname "$(mpc current --format %file%)")"" >> "$(mpc current -f %$mpdartist%--%date%--%album%).ratings"
+ echo "directory="$(dirname "$(mpc current --format %file%)")"" >> "$(mpc current -f %$mpd_artist%--%date%--%album%).ratings"
fi
if grep "album_rating=" "$(mpc current -f %artist%--%date%--%album%).ratings" > /dev/null; then
sed -i "/album_rating/d" "$(mpc current -f %$mpd_artist%--%date%--%album%).ratings"