Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Collier County emergency rescue/fire radio traffic
- #links
- #http://www.broadcastify.com/listen/ctid/326
- #http://www.broadcastify.com/listen/ctid/326/web
- #Stream
- mplayer "http://audio7.broadcastify.com/bnyk05613vtg.mp3?nocache=7794470"
- #dump stream
- #streamripper "http://audio7.broadcastify.com/bnyk05613vtg.mp3?nocache=7794470"
- wget "http://audio7.broadcastify.com/bnyk05613vtg.mp3?nocache=7794470" -O dispatch.mp3
- #split stream
- apt-get install libsox-fmt-mp3 sox
- wget -q "http://audio7.broadcastify.com/bnyk05613vtg.mp3?nocache=7794470" -O- |sox -t mp3 -V3 - output.mp3 silence 1 3.0 0.1% 1 0.3 0.1% : newfile : restart
- #rename files with timestamp
- #!/bin/bash
- mkdir logged
- while [ 1 ]
- do
- echo "Moving files to logged..."
- for i in *.wav
- do
- date="$(ls -l $i |awk '{print $6 " " $7 " " $8}')"
- epoch="$(date --date="$date" +%s)"
- mv -v $i logged/$epoch.wav
- done
- sleep 1m
- done
Add Comment
Please, Sign In to add comment