diff options
author | Rasmus Steinke <rasi@xssn.at> | 2015-09-01 01:21:15 +0200 |
---|---|---|
committer | Rasmus Steinke <rasi@xssn.at> | 2015-09-01 01:21:15 +0200 |
commit | ee86d6737c3ca011d576826bf12adc85a3940488 (patch) | |
tree | 8b98afd33a2dba247101bd9e4a61f129637ba228 /clerk | |
parent | 9bfd3a9d5f2438bd29fb3590150810b3e3d8dd75 (diff) | |
download | perl-app-clerk-ee86d6737c3ca011d576826bf12adc85a3940488.tar.gz perl-app-clerk-ee86d6737c3ca011d576826bf12adc85a3940488.tar.xz |
don't cut album names in latest additions
Diffstat (limited to 'clerk')
-rwxr-xr-x | clerk | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -82,7 +82,8 @@ updateCache () { | sort -nr \ | awk '{for (i=2; i<NF; i++) printf $i " "; print $NF}' \ | awk -F ' — ' '{ print $1 "\t" $2 " — " $3 }' \ - | sed 's,^\([^\t]*\t[^\t]\{40\}\)[^\t]*,\1,' | column -o $'\t' -s $'\t' -t | uniq > $HOME/.config/clerk/latest.cache + | column -o $'\t' -s $'\t' -t > $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 '' \ | grep -v '^ — ' \ |