P
P
pxx2011-06-21 23:38:05
Video broadcast
pxx, 2011-06-21 23:38:05

Recording IP radio broadcasts using a router running DD-WRT?

There is one Odessa radio , which broadcasts very burning broadcasts in the morning. I can't listen to the live broadcast, but I would very much like to.

There is also a home router TP-Link TL-WR1043ND, on which DD-WRT is spinning. Also, a flash drive in ext3 is connected and mounted to it. Theoretically, I understand that you can make the router work for the good of the fatherland and write stream → mp3/ogg every day in a certain period of time. But, unfortunately, I'm not a Linuxoid at all, and quick googling did not lead me to anything.

Help me get on the right path. Recipes, manuals, kicks in the right direction - I will be happy with everything.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Zhurbitsky, 2011-06-22
@pxx

You can create a script with approximately the same content (correct the path to the flash drive and the slip time to the correct ones)

#!/bin/bash

wget -O /mnt/usb/`date +%Y%m%d`.mp3 http://62.80.190.246:8000/ProstoRadiO64 &
sleep 1h
kill $!

Then add to cron to run this script at a specific time (8:00?).
If everything is correct, then files like 20110621.mp3 will be created on the flash drive every morning.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question