summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRasmus Steinke <rasi@xssn.at>2014-10-05 00:36:52 +0200
committerRasmus Steinke <rasi@xssn.at>2014-10-05 00:36:52 +0200
commit125cca58547f52ecaf95046dfc1c8cbf16c74042 (patch)
treea2d8aa91a3587f4a797a72b2c3c3998844ebcd4b
parent5745c9bdb8f0ef262342ca39b685a9e400b158a3 (diff)
downloadperl-app-clerk-125cca58547f52ecaf95046dfc1c8cbf16c74042.tar.gz
perl-app-clerk-125cca58547f52ecaf95046dfc1c8cbf16c74042.tar.xz
fix of fix
-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')"