Correction chanson
This commit is contained in:
4
fip.sh
Normal file → Executable file
4
fip.sh
Normal file → Executable file
@@ -15,7 +15,7 @@ function print_data() {
|
||||
IFS=$'\n'
|
||||
for item in $(echo "$json_data" | jq -c '.[]'); do
|
||||
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')
|
||||
|
||||
slug=${slug#fip_}
|
||||
@@ -48,4 +48,4 @@ while true; do
|
||||
fi
|
||||
|
||||
sleep 5
|
||||
done
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user