diff options
author | Rasmus Steinke <rasi@xssn.at> | 2014-08-25 01:31:00 +0200 |
---|---|---|
committer | Rasmus Steinke <rasi@xssn.at> | 2014-08-25 01:31:00 +0200 |
commit | 5546d6bc6a2fe5661b8525a98355e1dc07ef60b8 (patch) | |
tree | 7a7893e2133b09846726908ff341c9dc6694f713 | |
parent | 77b957eb3a87c06427617c2470eea1e756f34747 (diff) | |
download | perl-app-clerk-5546d6bc6a2fe5661b8525a98355e1dc07ef60b8.tar.gz perl-app-clerk-5546d6bc6a2fe5661b8525a98355e1dc07ef60b8.tar.xz |
added missing cd
-rw-r--r-- | clerk | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 |