achaudhry / adhan

Raspberry Pi Adhan Clock
39 stars 25 forks source link

Run custom commands before/after playing adhan #9

Closed hammady closed 3 years ago

hammady commented 4 years ago

Sometimes it is needed to run custom commands either before, after or before and after playing adhan. For example, if you have Quran playing continuously, you would want to pause and resume the playback. Another example, is to set your status on a social network, or a calendar, to block/unblock the Internet using pi.hole rules, ... etc. With optional command line arguments added in #7, one can introduce custom commands using additional arguments. @achaudhry I am going to submit a PR to add this once the above is merged.

hammady commented 4 years ago

Implemented in https://github.com/hammady/adhan/pull/1. Pending on #7.

hammady commented 4 years ago

Now implemented in #10.