summaryrefslogtreecommitdiffstats
path: root/clerk
diff options
context:
space:
mode:
Diffstat (limited to 'clerk')
-rw-r--r--clerk6
1 files changed, 6 insertions, 0 deletions
diff --git a/clerk b/clerk
index 3bfd841..084621c 100644
--- a/clerk
+++ b/clerk
@@ -682,6 +682,12 @@ rateAlbum () {
date=$(mpc current -f %date%)
directory=$(dirname $(mpc current -f %file%))
ratings="$(seq $maxratings | dmenu_t -p "Select Rating: > ")"
+ date=${date//\'/\\\'}
+ artist=${artist//\'/\\\'}
+ album=${album//\'/\\\'}
+ directory=${directory//\'/\\\'}
+ rating=${ratings//\'/\\\'}
+
if [ ratings = "" ]; then
exit
else