Correction chanson

This commit is contained in:
tfa
2023-11-23 15:13:11 +01:00
parent 5ce21bc136
commit 73437545b9

2
fip.sh Normal file → Executable file
View File

@@ -15,7 +15,7 @@ function print_data() {
IFS=$'\n' IFS=$'\n'
for item in $(echo "$json_data" | jq -c '.[]'); do for item in $(echo "$json_data" | jq -c '.[]'); do
slug=$(echo "$item" | jq -r '.slug') slug=$(echo "$item" | jq -r '.slug')
titre=$(echo "$item" | jq -r '.now.firstLine') titre=$(echo "$item" | jq -r '.now.song.title')
artiste=$(echo "$item" | jq -r '.now.secondLine') artiste=$(echo "$item" | jq -r '.now.secondLine')
slug=${slug#fip_} slug=${slug#fip_}