Skip to content

Commit e14d297

Browse files
authored
Update updateAzaanTimers.py
1 parent 4363061 commit e14d297

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

updateAzaanTimers.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -128,8 +128,8 @@ def addClearLogsCronJob (objCronTab, strCommand):
128128

129129

130130
strVolumeAdhan = "curl -d '{\"id\":0,\"params\":[\"aa:aa:00:00:00:00\",[\"mixer\",\"volume\",\"60\"]],\"method\":\"slim.request\"}' http://localhost:9000/jsonrpc.js"
131-
strPlayAzaanMP3Command = "curl -d '{\"id\":0,\"params\":[\"aa:aa:00:00:00:00\",[\"playlist\",\"play\",\"/home/pi/adhan/mp3/Adhan-Makkah.mp3\"]],\"method\":\"slim.request\"}' http://localhost:9000/jsonrpc.js"
132-
131+
#strPlayAzaanMP3Command = "curl -d '{\"id\":0,\"params\":[\"aa:aa:00:00:00:00\",[\"playlist\",\"play\",\"/home/pi/adhan/mp3/Adhan-Makkah.mp3\"]],\"method\":\"slim.request\"}' http://localhost:9000/jsonrpc.js"
132+
strPlayAzaanMP3Command = '{}/playAzaan.sh {}/Adhan-Madinah.mp3 {}'.format(root_dir, root_dir, azaan_vol)
133133

134134
strUpdateCommand = '{}/updateAzaanTimers.py >> {}/adhan.log 2>&1'.format(root_dir, root_dir)
135135
strClearLogsCommand = 'truncate -s 0 {}/adhan.log 2>&1'.format(root_dir)

0 commit comments

Comments
 (0)