diff options
author | Rasmus Steinke <rasi@xssn.at> | 2014-08-25 01:27:19 +0200 |
---|---|---|
committer | Rasmus Steinke <rasi@xssn.at> | 2014-08-25 01:27:19 +0200 |
commit | 77b957eb3a87c06427617c2470eea1e756f34747 (patch) | |
tree | c690e57b485689e41ae3d7fc6b12e6789bfeec53 | |
parent | 62fc8443eff38c6735046030489f66a61b92208e (diff) | |
download | perl-app-clerk-77b957eb3a87c06427617c2470eea1e756f34747.tar.gz perl-app-clerk-77b957eb3a87c06427617c2470eea1e756f34747.tar.xz |
another go
-rw-r--r-- | clerk | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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 |