joohann / Adhan-Sonos

Play the Adhan via Sonos
GNU General Public License v3.0
0 stars 3 forks source link

command not found #3

Open JaserAkuly opened 4 years ago

JaserAkuly commented 4 years ago

When having the API running and started, then trying to get .sh file to run I get a list of these errors:

./sonos_adhan.sh /Users/xxxx/Desktop/Adhan-Sonos-master/sonos_adhan.cfg: line 1: [pushover-settings]: command not found /Users/xxxx/Desktop/Adhan-Sonos-master/sonos_adhan.cfg: line 5: [adhan-settings]: command not found /Users/xxxx/Desktop/Adhan-Sonos-master/sonos_adhan.cfg: line 18: is: command not found /Users/xxxx/Desktop/Adhan-Sonos-master/sonos_adhan.cfg: line 20: [notifications]: command not found

How do I get this to work, it makes no sense. I am completely stuck and unable to move forward. Please help and assist on how to get this working properly. Thanks!

filoor commented 3 years ago

Please remove the headers from the .cfg [pushover-settings] [adhan-settings] [notifications]

AbdullahGheith commented 3 years ago

I would like to draw attention to my fork: https://github.com/AbdullahGheith/Adhan-Sonos I've fixed the script and put it in a docker container for much easier setup