diff options
author | Rasmus Steinke <rasi@xssn.at> | 2015-09-01 04:43:20 +0200 |
---|---|---|
committer | Rasmus Steinke <rasi@xssn.at> | 2015-09-01 04:43:20 +0200 |
commit | 6307a33695a42a49c453ad035b1716f2df07eddb (patch) | |
tree | 9493a21df443b681917298b16929ca0a57126695 | |
parent | a598f8f2efa61d8d36c66546253ffade495096af (diff) | |
download | perl-app-clerk-6307a33695a42a49c453ad035b1716f2df07eddb.tar.gz perl-app-clerk-6307a33695a42a49c453ad035b1716f2df07eddb.tar.xz |
dont show duplicate albums in latest menu
-rwxr-xr-x | clerk | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -94,7 +94,7 @@ updateCache () { | sort -nr \ | awk '{for (i=2; i<NF; i++) printf $i " "; print $NF}' \ | awk -F ' — ' '{ print $1 "\t" $2 " — " $3 }' \ - | column -o $'\t' -s $'\t' -t > $HOME/.config/clerk/latest.cache + | column -o $'\t' -s $'\t' -t | uniq > $HOME/.config/clerk/latest.cache # | sed 's,^\([^\t]*\t[^\t]\{40\}\)[^\t]*,\1,' | column -o $'\t' -s $'\t' -t | uniq > $HOME/.config/clerk/latest.cache mpc --format '[%albumartist%|%artist%]\t(%date%) — %album%' \ search filename '' \ |