Closed mfranchini closed 1 year ago
Hi,
as the Radio module only uses MMM-Volume the problem is surely in MMM-Volume. The commands the volume module needs to call depend highly on your system. Which one are you using? Raspberry Buster, Bullseye or Bookworm? Do you use any Hat like Hifiberry or the build in chip to output sound? I am pritty sure the module has not been tested with Bookworm yet and the sound system changed massifly with Bookworm.
Hi i use Rasperry pi3 model B with o.s. bullseyes legacy, but the error raise also before installed MMM-Volume
Marco Franchini 3487555030
Il giorno 4 nov 2023, alle ore 17:41, Thomas Hirschberger @.***> ha scritto:
Hi,
as the Radio module only uses MMM-Volume the problem is surely in MMM-Volume. The commands the volume module needs to call depend highly on your system. Which one are you using? Raspberry Buster, Bullseye or Bookworm. Do you use any Hat like Hifiberry or the build in chip to output sound? I am pritty sure the module has not been tested with Bookworm yet and the sound system changed massifly with Bookworm.
— Reply to this email directly, view it on GitHub https://github.com/Tom-Hirschberger/MMM-MplayerRadio/issues/30#issuecomment-1793491953, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGLVIYGF356HO33H2VMOCGLYCZV3FAVCNFSM6AAAAAA65UAY6OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOJTGQ4TCOJVGM. You are receiving this because you authored the thread.
Hi,
but my module only sends a notification to the volume module. Are you sure you use MMM-MplayerRadio or do you use EXT-RadioPlayer? If you use EXT-RadioPlayer you need to ask for support in the forum of bogus not as I do not know any details of his module.
Yes i use MMM-MplayerRadio. Thanks now i send a issue to MMM-Volume
Good luck
Marco Franchini 3487555030
Il giorno 4 nov 2023, alle ore 18:28, Thomas Hirschberger @.***> ha scritto:
Hi,
but my module only sends a notification to the volume module. Are you sure you use MMM-MplayerRadio or do you use EXT-RadioPlayer? If you use EXT-RadioPlayer you need to ask for support in the forum of bogus not as I do not know any details of his module.
— Reply to this email directly, view it on GitHub https://github.com/Tom-Hirschberger/MMM-MplayerRadio/issues/30#issuecomment-1793502262, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGLVIYAE5FVUYXTGXKWG44DYCZ3NNAVCNFSM6AAAAAA65UAY6OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOJTGUYDEMRWGI. You are receiving this because you authored the thread.
I use this MMM-Volume config in my Bullseye setup:
{
module: "MMM-Volume",
position: "top_left", // It is meaningless. but you should set.
config: {
usePresetScript: "PULSE",
}
},
How does your config look like?
Thanks tomorrow i try your configuration.
Good Night
Marco Franchini 3487555030
Il giorno 4 nov 2023, alle ore 20:14, Thomas Hirschberger @.***> ha scritto:
I use this MMM-Volume config in my Bullseye setup:
{ module: "MMM-Volume", position: "top_left", // It is meaningless. but you should set. config: { usePresetScript: "PULSE", } },
— Reply to this email directly, view it on GitHub https://github.com/Tom-Hirschberger/MMM-MplayerRadio/issues/30#issuecomment-1793531473, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGLVIYEAODKI762O5ZWGPNLYC2HZZAVCNFSM6AAAAAA65UAY6OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOJTGUZTCNBXGM. You are receiving this because you authored the thread.
Hi, with “PULSE”, work thanks
Marco Franchini 3487555030
Il giorno 4 nov 2023, alle ore 20:14, Thomas Hirschberger @.***> ha scritto:
I use this MMM-Volume config in my Bullseye setup:
{ module: "MMM-Volume", position: "top_left", // It is meaningless. but you should set. config: { usePresetScript: "PULSE", } },
— Reply to this email directly, view it on GitHub https://github.com/Tom-Hirschberger/MMM-MplayerRadio/issues/30#issuecomment-1793531473, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGLVIYEAODKI762O5ZWGPNLYC2HZZAVCNFSM6AAAAAA65UAY6OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOJTGUZTCNBXGM. You are receiving this because you authored the thread.
Perfect. Great to hear that. Have fun with the modules then. I will close this issue. If you have any problems with the module feel free to open a new one.
Thanks but there is another problem, i have only one station and when i press next o previous button start another instance and is not possible to stop this, if i press stop button only one instance stop and the radio continues to play. I must reset raspberry to stop play.
Marco Franchini 3487555030
Il giorno 5 nov 2023, alle ore 09:30, Thomas Hirschberger @.***> ha scritto:
Perfect. Great to hear that. Have fun with the modules then. I will close this issue. If you have any problems with the module feel free to open a new one.
— Reply to this email directly, view it on GitHub https://github.com/Tom-Hirschberger/MMM-MplayerRadio/issues/30#issuecomment-1793672644, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGLVIYEFABA4KRDWS4YIGK3YC5FEDAVCNFSM6AAAAAA65UAY6OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOJTGY3TENRUGQ. You are receiving this because you authored the thread.
Can you post your Config please? Do you use mplayer or (as suggested) the vlcWrapper.bash?
{
module: "MMM-Volume",
position: "bottom_center", // It is meaningless. but you should set.
config: {
upDownScale: 5,
// for VOLUME_UP or VOLUME_DOWN.
volumeOnStart: 20,
// If you set this, this volume will be applied on start of Magic>
volumeText: "Vol: #VOLUME#%",
// Showing volume.
usePresetScript: "PULSE", // "ALSA" is supported by default.
//volumeOnStart: 50
}
},
{
module: "MMM-MplayerRadio",
header: "Radio",
position: "right_bottom",
config: {
customCommand: "./modules/MMM-MplayerRadio/scripts/vlcWrapper.bas>
customCommandArgs: ["###URL###"],
showStations: false,
showLogos: false,
showTitles: true,
//showVolControls: false,
//autoplay: 0,
stations: [
{
//title: "OttoFM",
url: "https://stream8.toserver.net:8443/ottofm.mp3",
//logo: "https://upload.wikimedia.org/wikipedia/commons/a>
}
],
displayStationsOnStartup: false
},
},
I will try to investigate the problem further in the evening. But I can not promise I will have time today
No problem, i can wait
Marco Franchini 3487555030
Il giorno 5 nov 2023, alle ore 10:19, Thomas Hirschberger @.***> ha scritto:
I will try to investigate the problem further in the evening. But I can not promise I will have time today
— Reply to this email directly, view it on GitHub https://github.com/Tom-Hirschberger/MMM-MplayerRadio/issues/30#issuecomment-1793682101, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGLVIYBQO4IH3QTXYH574N3YC5K2DAVCNFSM6AAAAAA65UAY6OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOJTGY4DEMJQGE. You are receiving this because you authored the thread.
Hi, just released version 0.1.3 of the module which should fix the problem with the scripts.
Please run the following commands to update the module:
cd ~/MagicMirror/modules/MMM-MplayerRadio
git pull
npm install
And (if you use pm2 to start MagicMirror) restart MagicMirror with:
pm2 restart MagicMirror
Thanks, Tomorrow I perform a new version. Good Night
Marco Franchini 29121 Piacenza Via Osimo, 21 Cell. +39 3487555030
Il giorno dom 5 nov 2023 alle 19:34 Thomas Hirschberger < @.***> ha scritto:
Hi, just released version 0.1.3 of the module which should fix the problem with the scripts.
Please run the following commands to update the module:
cd ~/MagicMirror/modules/MMM-MplayerRadio git pull npm install
And (if you use pm2 to start MagicMirror) restart MagicMirror with:
pm2 restart MagicMirror
— Reply to this email directly, view it on GitHub https://github.com/Tom-Hirschberger/MMM-MplayerRadio/issues/30#issuecomment-1793812280, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGLVIYEPTDCUAOJBHCMARXLYC7L43AVCNFSM6AAAAAA65UAY6OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOJTHAYTEMRYGA . You are receiving this because you authored the thread.Message ID: @.***>
Hi, Not work, when i press play button the radio start, then if i press next o previous button then i press stop button, radio continue play and i don't know how stop it
Can you try to run the vlc Wrapper.bash script in a shell, kill the script by hitting CTRL+c and post the output here?
cd ~/MagicMirror
./modules/MMM-MplayerRadio/scripts/vlcWrapper.bash https://stream8.toserver.net:8443/ottofm.mp3
I executer bash vlcWrapper.bash, and the answer is
Not enough arguments
Marco Franchini 3487555030
Il giorno 6 nov 2023, alle ore 20:36, Thomas Hirschberger @.***> ha scritto:
Can you try to run the vlc Wrapper.bash script in a shell, kill the script by hitting CTRL+c and post the output here?
— Reply to this email directly, view it on GitHub https://github.com/Tom-Hirschberger/MMM-MplayerRadio/issues/30#issuecomment-1796173472, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGLVIYEOSI5D4ANNW5N3B53YDE35XAVCNFSM6AAAAAA65UAY6OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOJWGE3TGNBXGI. You are receiving this because you authored the thread.
Are you sure you run:
cd ~/MagicMirror
./modules/MMM-MplayerRadio/scripts/vlcWrapper.bash https://stream8.toserver.net:8443/ottofm.mp3
The script expects the URL of the stream as first and only argument.
Marco Franchini 3487555030
Il giorno 7 nov 2023, alle ore 18:36, Thomas Hirschberger @.***> ha scritto:
Are you sure you run:
cd ~/MagicMirror ./modules/MMM-MplayerRadio/scripts/vlcWrapper.bash https://stream8.toserver.net:8443/ottofm.mp3 The script expects the URL of the stream as first and only argument.
— Reply to this email directly, view it on GitHub https://github.com/Tom-Hirschberger/MMM-MplayerRadio/issues/30#issuecomment-1799306530, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGLVIYGAJ5MRMCUGMMYWHHLYDJWTTAVCNFSM6AAAAAA65UAY6OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOJZGMYDMNJTGA. You are receiving this because you authored the thread.
Marco Franchini 3487555030
Il giorno 7 nov 2023, alle ore 18:36, Thomas Hirschberger @.***> ha scritto:
Are you sure you run:
cd ~/MagicMirror ./modules/MMM-MplayerRadio/scripts/vlcWrapper.bash https://stream8.toserver.net:8443/ottofm.mp3 The script expects the URL of the stream as first and only argument.
— Reply to this email directly, view it on GitHub https://github.com/Tom-Hirschberger/MMM-MplayerRadio/issues/30#issuecomment-1799306530, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGLVIYGAJ5MRMCUGMMYWHHLYDJWTTAVCNFSM6AAAAAA65UAY6OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOJZGMYDMNJTGA. You are receiving this because you authored the thread.
Sorry, but your last two messages had been empty.
Have you been able to run the command?
Marco Franchini 3487555030
Il giorno 9 nov 2023, alle ore 17:13, Thomas Hirschberger @.***> ha scritto:
Sorry, but your last two messages had been empty.
Have you been able to run the command?
— Reply to this email directly, view it on GitHub https://github.com/Tom-Hirschberger/MMM-MplayerRadio/issues/30#issuecomment-1804129862, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGLVIYGCBRO3XQINUEAIDHDYDT6KVAVCNFSM6AAAAAA65UAY6OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMBUGEZDSOBWGI. You are receiving this because you authored the thread.
Sorry, but the message is still empty. Maybe the E-Mail to Comment function of Github is broken.
Sorry, try now
Marco Franchini 3487555030
Il giorno 9 nov 2023, alle ore 18:55, Thomas Hirschberger @.***> ha scritto:
Sorry, but the message is still empty. Maybe the E-Mail to Comment function of Github is broken.
— Reply to this email directly, view it on GitHub https://github.com/Tom-Hirschberger/MMM-MplayerRadio/issues/30#issuecomment-1804296102, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGLVIYAPXPDJXDUHSMYH4KDYDUKJVAVCNFSM6AAAAAA65UAY6OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMBUGI4TMMJQGI. You are receiving this because you authored the thread.
Hi, I noticed that the images are blurry, I will try to make more as soon as I can
I’m sorry
Marco Franchini 3487555030
Il giorno 9 nov 2023, alle ore 18:55, Thomas Hirschberger @.***> ha scritto:
Sorry, but the message is still empty. Maybe the E-Mail to Comment function of Github is broken.
— Reply to this email directly, view it on GitHub https://github.com/Tom-Hirschberger/MMM-MplayerRadio/issues/30#issuecomment-1804296102, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGLVIYAPXPDJXDUHSMYH4KDYDUKJVAVCNFSM6AAAAAA65UAY6OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMBUGI4TMMJQGI. You are receiving this because you authored the thread.
Here
Marco Franchini 3487555030
Il giorno 9 nov 2023, alle ore 18:55, Thomas Hirschberger @.***> ha scritto:
Sorry, but the message is still empty. Maybe the E-Mail to Comment function of Github is broken.
— Reply to this email directly, view it on GitHub https://github.com/Tom-Hirschberger/MMM-MplayerRadio/issues/30#issuecomment-1804296102, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGLVIYAPXPDJXDUHSMYH4KDYDUKJVAVCNFSM6AAAAAA65UAY6OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMBUGI4TMMJQGI. You are receiving this because you authored the thread.
Sorry, but your last message does not contain anything but the word "Here". I can not see any attachment neither in the browser nor in the GitHub App
Hi, i can try to transfer via WeTransfer now
Marco Franchini 3487555030
Il giorno 10 nov 2023, alle ore 20:18, Thomas Hirschberger @.***> ha scritto:
Sorry, but your last message does not contain anything but the word "Here". I can not see any attachment neither in the browser nor in the GitHub App
— Reply to this email directly, view it on GitHub https://github.com/Tom-Hirschberger/MMM-MplayerRadio/issues/30#issuecomment-1806305816, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGLVIYG2RTVGOUZ6PP6A73TYDZ4YJAVCNFSM6AAAAAA65UAY6OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMBWGMYDKOBRGY. You are receiving this because you authored the thread.
@.*** sent you Log File
1 item, 28.4 KB in total ・ Expires on 17 November, 2023
Message: Try now
1 item
Log.rtf - 28.4 KB
Get more out of WeTransfer, get Pro
About WeTransfer: https://wetransfer.com/about Help: https://wetransfer.zendesk.com/hc/en-us Legal: https://wetransfer.com/legal/terms
To make sure our emails arrive, please add @.*** to your contacts.
I was able to download and view the file. It looks like the radio stream stopped as it should in this case.
Currently i do not know why it works on the shell and in my setup but not in yours.
What version of node do you use? What MagicMirror version do you use?
Ok good now i can not to see the both version, but tomorrow i check and send you the information required.
Good Luck
Marco Franchini 3487555030
Il giorno 10 nov 2023, alle ore 20:31, Thomas Hirschberger @.***> ha scritto:
I was able to download and view the file. It looks like the radio stream stopped as it should in this case.
Currently i do not know why it works on the shell and in my setup but not in yours.
What version of node do you use? What MagicMirror version do you use?
— Reply to this email directly, view it on GitHub https://github.com/Tom-Hirschberger/MMM-MplayerRadio/issues/30#issuecomment-1806325387, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGLVIYHQVLHN7HI3BHYTBULYDZ6K5AVCNFSM6AAAAAA65UAY6OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMBWGMZDKMZYG4. You are receiving this because you authored the thread.
Ok i’m here
That are the version;
@.***:~/MagicMirror $ cat package.json { "name": "magicmirror", "version": "2.25.0”,
@.***:~ $ nodejs Welcome to Node.js v12.22.12.
Marco Franchini 3487555030
Il giorno 10 nov 2023, alle ore 20:31, Thomas Hirschberger @.***> ha scritto:
I was able to download and view the file. It looks like the radio stream stopped as it should in this case.
Currently i do not know why it works on the shell and in my setup but not in yours.
What version of node do you use? What MagicMirror version do you use?
— Reply to this email directly, view it on GitHub https://github.com/Tom-Hirschberger/MMM-MplayerRadio/issues/30#issuecomment-1806325387, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGLVIYHQVLHN7HI3BHYTBULYDZ6K5AVCNFSM6AAAAAA65UAY6OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMBWGMZDKMZYG4. You are receiving this because you authored the thread.
OK. You are running the current stable version of MagicMirror but you use a totally outdated node version.
For MagicMirror 2.25.0 Node needs to be at least version 20, the previous version of MagicMirror used version 16.
How did you update? Did you use the script of Sam?
Who is Sam?
Marco Franchini 3487555030
Il giorno 10 nov 2023, alle ore 22:06, Thomas Hirschberger @.***> ha scritto:
OK. You are running the current stable version of MagicMirror but you use a totally outdated node version.
For MagicMirror 2.25.0 Node needs to be at least version 20, the previous version of MagicMirror used version 16.
How did you update? Did you use the script of Sam?
— Reply to this email directly, view it on GitHub https://github.com/Tom-Hirschberger/MMM-MplayerRadio/issues/30#issuecomment-1806434599, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGLVIYF23R74QNXZWLK7CN3YD2JLXAVCNFSM6AAAAAA65UAY6OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMBWGQZTINJZHE. You are receiving this because you authored the thread.
For installation i used this script
https://github.com/sdetweil/MagicMirror_scripts https://github.com/sdetweil/MagicMirror_scripts
Marco Franchini 3487555030
Il giorno 10 nov 2023, alle ore 22:06, Thomas Hirschberger @.***> ha scritto:
OK. You are running the current stable version of MagicMirror but you use a totally outdated node version.
For MagicMirror 2.25.0 Node needs to be at least version 20, the previous version of MagicMirror used version 16.
How did you update? Did you use the script of Sam?
— Reply to this email directly, view it on GitHub https://github.com/Tom-Hirschberger/MMM-MplayerRadio/issues/30#issuecomment-1806434599, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGLVIYF23R74QNXZWLK7CN3YD2JLXAVCNFSM6AAAAAA65UAY6OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMBWGQZTINJZHE. You are receiving this because you authored the thread.
That's good. These are the scripts of sdetweil (Sam Detweil). He updated his scripts in the last week as the had been problems on some systems. Maybe you can do a update with force option. As you already use 2.25.0 there should not be too much problems with the modules but the update script takes care to install the correct node version.
Which command can i use for update node to last version?
Thanks
Marco Franchini 3487555030
Il giorno 10 nov 2023, alle ore 22:16, Thomas Hirschberger @.***> ha scritto:
That's good. These are the scripts of sdetweil (Sam Detweil). He updated his scripts in the last week as the had been problems on some systems. Maybe you can do a update with force option. As you already use 2.25.0 there should not be too much problems with the modules but the update script takes care to install the correct node version.
— Reply to this email directly, view it on GitHub https://github.com/Tom-Hirschberger/MMM-MplayerRadio/issues/30#issuecomment-1806444830, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGLVIYDKJHLQPNFDJ6R3MM3YD2KTXAVCNFSM6AAAAAA65UAY6OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMBWGQ2DIOBTGA. You are receiving this because you authored the thread.
You can either try to run
bash -c "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)" force
Or you need to do the job manually. The instructions can be found here https://deb.nodesource.com/
This?
@.***:~ $ node -v v20.8.0
Marco Franchini 3487555030
Il giorno 10 nov 2023, alle ore 22:16, Thomas Hirschberger @.***> ha scritto:
That's good. These are the scripts of sdetweil (Sam Detweil). He updated his scripts in the last week as the had been problems on some systems. Maybe you can do a update with force option. As you already use 2.25.0 there should not be too much problems with the modules but the update script takes care to install the correct node version.
— Reply to this email directly, view it on GitHub https://github.com/Tom-Hirschberger/MMM-MplayerRadio/issues/30#issuecomment-1806444830, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGLVIYDKJHLQPNFDJ6R3MM3YD2KTXAVCNFSM6AAAAAA65UAY6OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMBWGQ2DIOBTGA. You are receiving this because you authored the thread.
Yes. This version should be much better.
Does MMM-MplayerRadio work after you restarted?
After update
@.:~ $ nodejs -v v12.22.12 @.:~ $ node -v v20.8.0
MMM-MplayerRadio work correctly, then is possible to close the issue, for me.
Thanks a lot
Good luck
Marco Franchini 3487555030
Il giorno 10 nov 2023, alle ore 22:26, Thomas Hirschberger @.***> ha scritto:
Yes. This version should be much better.
Does MMM-MplayerRadio work after you restarted?
— Reply to this email directly, view it on GitHub https://github.com/Tom-Hirschberger/MMM-MplayerRadio/issues/30#issuecomment-1806454416, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGLVIYBU4ZXM25HGRBKKIELYD2LXZAVCNFSM6AAAAAA65UAY6OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMBWGQ2TINBRGY. You are receiving this because you authored the thread.
Great to hear that. Have much fun with the module.
Hi i installed MMM-PlayerRadio and it work, but when i press up or down volume button i receive this error:
[04.11.2023 15:30.08.490] [LOG] [VOLUME] Set Volume Error: Error: Command failed: amixer sset -M 'PCM' 5% amixer: Unable to find simple control 'PCM',0
code: 1, killed: false, signal: null, cmd: "amixer sset -M 'PCM' 5%" }
i installed also MMM-Volume, but the error persist Thanks