summaryrefslogtreecommitdiffstats
path: root/clerk
diff options
context:
space:
mode:
authorRasmus Steinke <rasi@xssn.at>2014-08-26 02:11:51 +0200
committerRasmus Steinke <rasi@xssn.at>2014-08-26 02:11:51 +0200
commitbb22c726547c564258c7ebdaa801604c2d05ae7d (patch)
treea66f88d7846043469d5f0fc52f424f19653f5b61 /clerk
parent6508b36e2e9eb18f3bdbfc098b155e1f25dbb412 (diff)
downloadperl-app-clerk-bb22c726547c564258c7ebdaa801604c2d05ae7d.tar.gz
perl-app-clerk-bb22c726547c564258c7ebdaa801604c2d05ae7d.tar.xz
wrong variable in album rating
Diffstat (limited to 'clerk')
-rw-r--r--clerk2
1 files changed, 1 insertions, 1 deletions
diff --git a/clerk b/clerk
index 300b823..f4b228a 100644
--- a/clerk
+++ b/clerk
@@ -714,7 +714,7 @@ rateAlbum () {
sed -i "/album_rating/d" "$(mpc current -f %$mpd_artist%--%date%--%album%).ratings"
echo "Album already rated. Changing Rating"
fi
- echo "album_rating=$ratings/$maxratings" >> "$(mpc current -f %$mpd_artist%--%date%--%album%).ratings"
+ echo "album_rating=$rating/$maxratings" >> "$(mpc current -f %$mpd_artist%--%date%--%album%).ratings"
if [[ "$music_dir_access" == "yes" ]]; then
cd "$music_path"
cd "$(dirname "$(mpc current -f %file%)")"