From 26a5c96dfd8ed2937f602a360c7eee4ed684d3ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Ankarstr=C3=B6m?= Date: Tue, 24 Nov 2020 02:57:48 +0100 Subject: dzq: Include album title in output This makes it a lot easier to differentiate between multiple copies of the same track by the one artist. --- dz/dzq | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dz/dzq b/dz/dzq index cb8579a..bca7adc 100755 --- a/dz/dzq +++ b/dz/dzq @@ -10,8 +10,7 @@ rm /tmp/dzq 2> /dev/null curl -s "https://www.deezer.com/search/$q" | grep __DZR_APP_STATE__ | cut -d= -f2- | -jq -r '.TRACK.data[] | .SNG_TITLE + "\n" + .ART_NAME + "\n" + .SNG_ID' 2>&- | -paste - - - | +jq -r '.TRACK.data[] | .SNG_TITLE + "\t" + .ART_NAME + "\t" + .ALB_TITLE + "\t" + .SNG_ID' 2>&- | sed 's/ */ /g' | head -${2:-10} | nl -w 2 | -- cgit v1.2.3