Skip to content

Commit e23690a

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

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

playAzaan.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +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
20-
#curl -d '{\"id\":0,\"params\":[\"aa:aa:00:00:00:00\",[\"playlist\",\"play\",\"$audio_path\"]],\"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
2120
curl -d '{"id":0,"params":["aa:aa:00:00:00:00",["playlist","play","$audio_path"]],"method":"slim.request"}' http://localhost:9000/jsonrpc.js
2221

2322

0 commit comments

Comments
 (0)