diff options
author | Rasmus Steinke <rasi@xssn.at> | 2014-08-25 01:00:46 +0200 |
---|---|---|
committer | Rasmus Steinke <rasi@xssn.at> | 2014-08-25 01:00:46 +0200 |
commit | 8d386839459338892400c19561ac1d50343f5433 (patch) | |
tree | 69aa7f3b64439c67cf400d12933d85b9cf6fdc42 | |
parent | 70b548923993fd599cd538c8eace6e6dfe2bdd56 (diff) | |
download | perl-app-clerk-8d386839459338892400c19561ac1d50343f5433.tar.gz perl-app-clerk-8d386839459338892400c19561ac1d50343f5433.tar.xz |
fixed wrong display of albums
-rw-r--r-- | clerk | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -744,7 +744,7 @@ rateTrack () { loadRatedAlbums () { cd "$HOME/.config/clerk" ratings="$(seq $maxratings | dmenu_t -p "Rating > ")" - album=$(echo -e ".separator \" $seperator \"\nselect artist, album, date from albums where rating > 7;" | sqlite3 ratings.db) + album=$(echo -e ".separator \" $seperator \"\nselect artist, album, date from albums where rating > "$ratings";" | sqlite3 ratings.db) menu=$(echo -e "Add All\nReplace All\n---\n$(echo "$album")" | rofi -dmenu -p "Select Album > ") artist=$(echo "$menu" | awk -F " $seperator " '{ print $1 }') album=$(echo "$menu" | awk -F " $seperator " '{ print $2 }') |