Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Rotate VLC streaming files



On 4/21/07, Matt Kowalski <matt.kowalski at gmail.com> wrote:
> I have a VLC server streaming audio from a scanner over a network which I
> can easily listen to with the VLC player.  I've successfully recorded the
> audio to an mp3 file on Windows and on Linux.  The problem is I want to
> record 24/7 and have the file rotate every day but can't seem to write a
> shell script that will properly rotate the file.  Does anyone have any
> experience with this?

I would think a cron job set to midnight would work.  Make the invoked
script look for any previous scripts running, and send a signal to
exit cleanly.  Make it spawn vlc and write to a file using 'date +%F'.
 You could rotate the old captures as well.  There are many ways to do
this...
-- 
Kristian Hermansen

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.





BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org