text mode playlist
This commit is contained in:
parent
42148e6292
commit
ff36e65ed7
1120
spotify/playlist.txt
Normal file
1120
spotify/playlist.txt
Normal file
File diff suppressed because it is too large
Load Diff
@ -26,4 +26,8 @@ done \
|
|||||||
| jq -s 'reduce .[] as $x ([]; . + $x)' \
|
| jq -s 'reduce .[] as $x ([]; . + $x)' \
|
||||||
| jq 'del(.. | .available_markets?, .added_by?, .popularity?)' > playlist.json
|
| jq 'del(.. | .available_markets?, .added_by?, .popularity?)' > playlist.json
|
||||||
|
|
||||||
printf "downloaded %s songs metadata" "$(jq length playlist.json)"
|
printf "downloaded %s songs metadata\n" "$(jq length playlist.json)"
|
||||||
|
|
||||||
|
jq -r '.[].track | ( .name + " - " + (.album.artists | map(.name) | join(", ")) )' playlist.json \
|
||||||
|
| pv > playlist.txt
|
||||||
|
printf "and dumped it as text on %s\n" playlist.txt
|
||||||
|
Loading…
x
Reference in New Issue
Block a user