i just asked myself if its possible to play an internet radio audio stream with madplay and if it so, how?
Here is one way:
wget -qO - $HTTP_ADDRESS | madplay -v -
thx, thats a way, right.
My Problem is that i want to call Mad from my Asterisk and if i call wget this way , i cant control wget if asterisk (and mad) quits, i think.
It would be great if there is a way in the command line of madplay, it could be an idea for further versions ?!
Thx for your help,
If madplay quits, wget will get a SIGPIPE signal and terminate automatically.
Log in to post a comment.