@tanvir586 Ok. Maybe the vlc on the shell ignores it.
Found an interesting thread which suggests running vlc with a additional option:
{
module: "MMM-MplayerRadio",
header: "Radio",
position: "top_center",
config: {
//autoplay: 0,
customCommand: "/usr/bin/vlc",
customCommandArgs: ["-I","dummy", "--alsa-audio-device", "hw:0,0", "###URL###"],
stations: [
{
title: "Al Mubarak",
url: "https://emasjidlive.co.uk/listen/almubarakradio",
logo: "https://upload.wikimedia.org/wikipedia/commons/a/ac/Antenne-bayern-logo.png",
},
],
},
},
If you use a Raspberry Pi 4 with two hdmi you may need to change “hw:0,0” to “hw:1,0” depending of the port your monitor is connected to.
Maybe this helps. I can not test it at the moment.
Edit:
Some people suggest to add
dtoverlay=vc4-fkms-v3d
to “/boot/config.txt” additionally.