I just get a audio usb for playing music on speakers because the standard pwm/audio from rpi is in juse by my rgb leds.
Now i have the net problem.
When i play a live stream in my terminal with mplayer then i have no problem.
But when i play this in domoticz it sounds like its very fast and then after that no sound.
What could be the problem? Mplayer?
This is my script.:
Code: Select all
#!/bin/bash # echo Radio538 wget "http://127.0.0.1:8080/json.htm?type=command¶m=switchlight&idx=161&switchcmd=On" > /dev/null sudo killall mplayer mplayer -ao alsa:device=default http://20103.live.streamtheworld.com/RADIO538.mp3