summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xclerk2
1 files changed, 1 insertions, 1 deletions
diff --git a/clerk b/clerk
index c000156..9b338d1 100755
--- a/clerk
+++ b/clerk
@@ -168,7 +168,7 @@ updateDB () {
rating=$(echo "$ratings" | cut -d '/' -f1)
rating_max=$(echo "$ratings" | cut -d '/' -f2)
date=${date//\'/\\\'}
- albumartist=${albumartist//\'/\\\'}
+ artist=${artist//\'/\\\'}
album=${album//\'/\\\'}
rating=${rating//\'/\\\'}
sqlite3 ../ratings.db "insert or replace into albums (date, artist, album, rating) values ('$date', '$albumartist', '$album', '$rating')"