Skip to content

Commit 4363061

Browse files
authored
Merge pull request #4 from semaf/semaf-patch-3
Update playAzaan.sh
2 parents e23690a + 5e77615 commit 4363061

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

playAzaan.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ done
1616

1717
# Play Azaan audio
1818
#omxplayer --vol $vol -o local $audio_path
19-
curl -d '{\"id\":0,\"params\":[\"aa:aa:00:00:00:00\",[\"mixer\",\"volume\",$vol]],\"method\":\"slim.request\"}' http://localhost:9000/jsonrpc.js
19+
curl -d '{"id":0,"params":["aa:aa:00:00:00:00",["mixer","volume",$vol]],"method":"slim.request"}' http://localhost:9000/jsonrpc.js
2020
curl -d '{"id":0,"params":["aa:aa:00:00:00:00",["playlist","play","$audio_path"]],"method":"slim.request"}' http://localhost:9000/jsonrpc.js
2121

2222

0 commit comments

Comments
 (0)