Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix/omxplayer #17

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ This projects uses a python script which automatically calculates [adhan](https:
2. Also, if you haven't worked with raspberry pi before, I would highly recommend using [these](https://www.raspberrypi.org/documentation/installation/noobs.md) instructions to get it up and running: https://www.raspberrypi.org/documentation/installation/noobs.md
2. Speakers
3. Auxiliary audio cable
4. sudo apt install mpg321 ( the replacement of the old omxplayer tool)

## Instructions
1. Install git: Go to raspberry pi terminal (command line interface) and install `git`
Expand Down
2 changes: 1 addition & 1 deletion playAzaan.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ for hook in $root_dir/before-hooks.d/*; do
done

# Play Azaan audio
omxplayer --vol $vol -o local $audio_path
mpg321 -g $vol $audio_path

# Run after hooks
for hook in $root_dir/after-hooks.d/*; do
Expand Down