diff options
author | John Ankarström <john@ankarstrom.se> | 2020-11-24 02:57:48 +0100 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2020-11-24 02:57:48 +0100 |
commit | 26a5c96dfd8ed2937f602a360c7eee4ed684d3ee (patch) | |
tree | 8cefae04cf0d294aff5b5c21e5ca1dc531cb4fed /dz | |
parent | 39caa55d510f35ef8cb9c322b3eb7157d6a2f3ef (diff) | |
download | msc-26a5c96dfd8ed2937f602a360c7eee4ed684d3ee.tar.gz |
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.
Diffstat (limited to 'dz')
-rwxr-xr-x | dz/dzq | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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 | |