Voraussetzung: installierter VLC Player und Screen
Code: Select all
sudo apt-get update && sudo apt-get install --yes vlc screen
Code: Select all
vim rec_sunshine-live.sh
Code: Select all
screen cvlc "http://stream.sunshine-live.de/live/mp3-192" --sout file/mp3:sunshine-live_$(date +%Y-%m-%d_%H:%M).mp3
Code: Select all
sh rec_sunshine-live.sh