Closed hammady closed 4 years ago
Jazak Allah these are great enhancements. Thank you for taking the time to add these.
I left a few suggestions. One is a bug fix and the rest are minor updates. If you can make those updates that would be great. I'll merge once done.
Thanks again!
Jazana Wa'eyakom, I have addressed all of your comments. Please let me know if anything more is needed to merge this.
I don't know if this would be the right spot to ask but let me know if not I'll remove this!
I am just playing with the praytimes.py and updateazantimer.py and instead of playing the audio on a pi, I am trying to run this in my local mac with the help of crontab but what is confusing me is how could I work around this command that is used for omxplayer to run the audio. omxplayer -o local /home/pi/adhan/Adhan-fajr.mp3 > /dev/null 2>&1
How could I work around that in order to be able to able to play the Adhan on my local machine?
Also, it seems as my jobs gets created on my local machine but the audio file never really plays.
Any tips or suggestions would be appreciated.
I don't know if this would be the right spot to ask but let me know if not I'll remove this!
I am just playing with the praytimes.py and updateazantimer.py and instead of playing the audio on a pi, I am trying to run this in my local mac with the help of crontab but what is confusing me is how could I work around this command that is used for omxplayer to run the audio.
omxplayer -o local /home/pi/adhan/Adhan-fajr.mp3 > /dev/null 2>&1
How could I work around that in order to be able to able to play the Adhan on my local machine?Also, it seems as my jobs gets created on my local machine but the audio file never really plays.
Any tips or suggestions would be appreciated.
@Zamy97 that's off topic, but my answer is that for macOS the preferred way to run timed jobs is launchd. Although cron is still supported, but it is not recommended, and I couldn't get it to run on my Mac.
Agreed with @hammady. @Zamy97 see my response on the issue you've created.
@hammady I'll look at the changes and merge them in tomorrow InshaAllah! Been busy with Eid and all :) Thanks for making the updates!
Agreed with @hammady. @Zamy97 see my response on the issue you've created.
@hammady I'll look at the changes and merge them in tomorrow InshaAllah! Been busy with Eid and all :) Thanks for making the updates!
@achaudhry let me know if you have questions so far to be able to merge.
@hammady sorry man, been extremely busy over the last few days but I haven't forgotten about this I promise :) Will look shortly. Thanks
@hammady sorry man, been extremely busy over the last few days but I haven't forgotten about this I promise :) Will look shortly. Thanks
Thanks @achaudhry, now #10 :)
--lat 20.23 --lng 50.552 --method Egypt
. These settings get persisted automatically so that later runs do not have to receive any arguments--fajr-azaan-volume 1200
and--azaan-volume 1800