Read the statement by Michael Teeuw here.
MMM-PrayerTime
-
@aishaamila said in MMM-PrayerTime:
@aishaamila Or anyone who knows it?
What is your MM hardware and config?
-
Adzan is played at server side (rpi) by omxplayer. You have to install omxplayer.
-
@slametps I try to play the adzan using /usr/bin/omxplayer -o hdmi modules/MMM-PrayerTime/res/adzan.mp3 and it played… Do i still need to install the omxplayer?
-
@aishaamila can you post your config?
-
@aishaamila But i need to change hdmi to local, i wil send it when i get home… Thank you so much
-
@slametps do i need to change something?
{ module: "MMM-PrayerTime", position: "top_left", config: { apiVersion: "1.0", lat: 2.1484105, lon: 102.7285677, timezone: "Asia/Kuala Lumpur", timeFormat: 24, method: 4, playAdzan: ['fajr', 'dhuhr', 'asr', 'maghrib', 'isha'], notDisplayed: ['midnight', 'sunset'], useUpdateInterval: true, updateInterval: 86400 * 1000, animationSpeed: 2.5 * 1000, showAdzanAlert: true, alertTimer: 15000 } }
-
timezone: "Asia/Kuala_Lumpur",
-
@aishaamila said in MMM-PrayerTime:
@aishaamila But i need to change hdmi to local, i wil send it when i get home… Thank you so much
What do you mean by “need to change hdmi to local”? Audio output using “-o hdmi” option by omxplayer is output to monitor/TV via HDMI line.
-
@slametps said in MMM-PrayerTime:
timezone: "Asia/Kuala_Lumpur",
As described in http://php.net/manual/en/timezones.asia.php.
-
@slametps /usr/bin/omxplayer -o local modules/MMM-PrayerTime/res/adzan.mp3
I use this command to play the adzan and it worked, but during the time it didnt played. That’s why I am confused.