summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xclerk4
1 files changed, 2 insertions, 2 deletions
diff --git a/clerk b/clerk
index 00660fa..267509a 100755
--- a/clerk
+++ b/clerk
@@ -164,7 +164,7 @@ updateDB () {
sqlite3 ../ratings.db < /usr/share/doc/clerk/create_rating.sql
fi
for line in *.ratings; do
- artist=$(grep "^albumartist=" "$line" | cut -d '=' -f2- )
+ albumartist=$(grep "^albumartist=" "$line" | cut -d '=' -f2- )
date=$(grep "^date=" "$line" | cut -d '=' -f2-)
album=$(grep "^album=" "$line" | cut -d '=' -f2-)
rating_split=$(grep "album_rating=" "$line" | cut -d "=" -f2)
@@ -652,7 +652,7 @@ rateAlbum () {
elif [[ "$mpd_artist" == "artist" ]]; then
albumartist="$(mpc current -f %artist%)"
fi
- artist="$(mpc current -f %artist%)"
+ albumartist="$(mpc current -f %artist%)"
album="$(mpc current -f %album%)"
date="$(mpc current -f %date%)"
rating="$(seq $maxratings | dmenu_t -p "Select Rating: > ")"