View play_stream
#!/bin/bash | |
# run on mac in terminal | |
while TRUE; do | |
nc <server_address> 15000 | play -q -t mp3 - || echo Attempting to connect... | |
sleep 1; | |
done |