Read the statement by Michael Teeuw here.
module unable to play mp3 file using omxplayer
-
I use a module MMM-PrayerTime on my MagicMirror, that uses omxplayer to play an mp3 file, announcing the prayer times.
After updating to the latest Raspbian OS system (Bookworm) and reinstalling the MagicMirror, the module no longer plays the mp3 file as omxplayer which is a dependency for the module, has been deprecated since 2020.
Is there any other player that could be substituted for omxplayer? Would it be possible to change the instruction in node.helper.js in the line where omxplayer is instructed to play the file, to some other player?
var adzanCmd = ‘/usr/bin/omxplayer -o both modules/MMM-PrayerTime/res/’ + adzanSound + ’ &';
I have raised this as an issue on the module site but have not received any response yet.
Thank you in advance -
@hrjmsh use MPlayer rather than OMXplayer. thats what i am using [also using bookworm]