summaryrefslogtreecommitdiffstats
path: root/clerk
diff options
context:
space:
mode:
authorRasmus Steinke <rasi@xssn.at>2014-08-25 01:31:00 +0200
committerRasmus Steinke <rasi@xssn.at>2014-08-25 01:31:00 +0200
commit5546d6bc6a2fe5661b8525a98355e1dc07ef60b8 (patch)
tree7a7893e2133b09846726908ff341c9dc6694f713 /clerk
parent77b957eb3a87c06427617c2470eea1e756f34747 (diff)
downloadperl-app-clerk-5546d6bc6a2fe5661b8525a98355e1dc07ef60b8.tar.gz
perl-app-clerk-5546d6bc6a2fe5661b8525a98355e1dc07ef60b8.tar.xz
added missing cd
Diffstat (limited to 'clerk')
-rw-r--r--clerk1
1 files changed, 1 insertions, 0 deletions
diff --git a/clerk b/clerk
index 084621c..da650b4 100644
--- a/clerk
+++ b/clerk
@@ -714,6 +714,7 @@ rateAlbum () {
cp $HOME/.config/clerk/ratings/"$(mpc current -f %artist%--%date%--%album%).ratings" .
fi
notify-send "clerk" "Rated $(mpc current -f "%$mpd_artist% - %album%") with $ratings"
+ cd $HOME/.config/clerk/ratings
sqlite3 ../ratings.db "insert or replace into albums (date, artist, album, directory, rating) values ('$date', '$artist', '$album', '$directory', '$rating')"
fi
ratingPrompt