diff options
author | Rasmus Steinke <rasi@xssn.at> | 2014-08-26 02:11:51 +0200 |
---|---|---|
committer | Rasmus Steinke <rasi@xssn.at> | 2014-08-26 02:11:51 +0200 |
commit | bb22c726547c564258c7ebdaa801604c2d05ae7d (patch) | |
tree | a66f88d7846043469d5f0fc52f424f19653f5b61 /clerk | |
parent | 6508b36e2e9eb18f3bdbfc098b155e1f25dbb412 (diff) | |
download | perl-app-clerk-bb22c726547c564258c7ebdaa801604c2d05ae7d.tar.gz perl-app-clerk-bb22c726547c564258c7ebdaa801604c2d05ae7d.tar.xz |
wrong variable in album rating
Diffstat (limited to 'clerk')
-rw-r--r-- | clerk | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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%)")" |