FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 01-02-2010, 09:56 PM
Michelle Konzack
 
Default Downloading of icecast streams in pieces of 1 hour

Hello and Happy New Year,

Currently I am using xmms and a bashscript to do it, but its crap and
not exact.

Currently I am using wget with:

----8<------------------------------------------------------------------
START_TIME=$(date +"%Y-%m-%d_%H%M") ; wget -S -O Radio_Javan_-_The_Best_Persian_Music_24_7_${START_TIME}.mp3 http://stream.radiojavan.com:9000/
--2010-01-02 23:33:40-- http://stream.radiojavan.com:9000/
Auflösen des Hostnamen »stream.radiojavan.com«.... 209.9.238.66
Verbindungsaufbau zu stream.radiojavan.com|209.9.238.66|:9000... verbunden.
HTTP Anforderung gesendet, warte auf Antwort...
HTTP/1.0 200 OK
Content-Type: audio/mpeg
icy-br:128
ice-audio-info: ice-samplerate=44100;ice-bitrate=128;ice-channels=2
icy-br:128
icy-description:Radio Javan - The Best Persian Music 24/7
icy-genre:Persian
icy-name:Radio Javan - The Best Persian Music 24/7
icy-pub:1
icy-url:http://www.radiojavan.com
Server: Icecast 2.3.2
Cache-Control: no-cache
Länge: nicht spezifiziert [audio/mpeg]
In »Radio_Javan_-_The_Best_Persian_Music_24_7_2010-01-02_2100.mp3« speichern.

[ <=> ] 5.283.600 8,76K/s
----8<------------------------------------------------------------------

and after 3600 seconds I have to kill wget and restart it...

Bettter wold be a program, which download the stream and cut it exactly
into pieces of 3600 seconds and name it... Also it must be very light
that I can run it on a ARM9 server with only 256 MByte of memory.

Does someone know such program/tool?

Thanks, Greetings and nice Day/Evening
Michelle Konzack
Tamay Dogan Network

--
Linux-User #280138 with the Linux Counter, http://counter.li.org/
##################### Debian GNU/Linux Consultant #####################
<http://www.tamay-dogan.net/> Michelle Konzack
<http://www.can4linux.org/> Apt. 917
<http://www.flexray4linux.org/> 50, rue de Soultz
Jabber linux4michelle@jabber.ccc.de 67100 Strabourg/France
IRC #Debian (irc.icq.com) Tel. DE: +49 177 9351947
ICQ #328449886 Tel. FR: +33 6 61925193
 

Thread Tools




All times are GMT. The time now is 03:16 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org