I have a streaming server running darkice into icecast which has a script running on it that records 1 hour segments which get labelled and saved in a dropbox. [audiologs] It provided 24/7 logging, and some hours get pulled out and replayed after some editing.

No interruption to the stream.

crontab runs the script every hour

There is a copy made elsewhere so that production are playing with a copy not the original. They don't know that!

-------------------------snip------------------------------
#! /bin/bash
#first lets get rid of this hour 90 days ago
rm /root/audiologs/RS-"$(date +%Y-%m-%d-%H-%M -d '90 days ago')".mp3
# go to archive directory
cd /root/audiologs
#stop last hourarchivePID
processid=`cat archivePID`
echo $processid
kill `cat archivePID`
wget http://127.0.0.1:8000/<nameofloggingstream>.mp3 &
#get process id from job just started
echo $! >/root/audiologs/archivePID
#wait a few secs
sleep 5
#rename current file
mv <nameofloggingstream>.mp3 "RS-`date +%Y-%m-%d-%H-%M.mp3`"

#RS can be any flag. We use station initials.
#<nameofloggingstream> is the label you use for a high quality stream
#we use 320mb for logging and a lot less for streaming
#this is running on puppy linux so root = /home/user YMMV
-------------------------snip------------------------------
crontab
0 * * * * /root/audiologging.sh

enjoy

Robert Jeffares

On 26/05/15 00:24, Technik Kölncampus wrote:
Hey guys,

we're trying to set up a 24/7 recording of our program with rdcatch - but it doesn't work by now.

We created events of the lenght of our shows, so there are some 2 hour recording events and a few three our recording events.

What happens is that the three hour recording events do not work. There are always just a few seconds recorded, if we export the file its size is always 149mb - which is (as a wave) much too small and contains only three minutes of the program.

The two hour recordings work (in 95%) perfectly.

Do you have similar setups? Or did you even had the same problem and know how to solve it? Is it wise to do a 24/7 recording with rdcatch or do you have other ideas?

Thanks in advance,

Daniel

--
Kölncampus - Das Kölner Hochschulradio
Technikabteilung

Albertus-Magnus-Platz
50923 Köln

0221-4704831
http://www.koelncampus.com
[email protected] <mailto:[email protected]>


_______________________________________________
Rivendell-dev mailing list
[email protected]
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev

_______________________________________________
Rivendell-dev mailing list
[email protected]
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev

Reply via email to