LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-13-2005, 02:36 PM   #1
space_invader64
Member
 
Registered: Aug 2005
Location: Oklahoma
Distribution: Suse 10
Posts: 70

Rep: Reputation: 15
Recording timed interent audio


I like recording streamed interent radio shows. In windows I've used ReplayRadio and in Mac I've used Audio Hijack. Is there a linux program that will launch the media player and record spasific programs on a timer?
 
Old 12-13-2005, 03:33 PM   #2
dino9832
LQ Newbie
 
Registered: Oct 2004
Location: San Antonio, Texas
Posts: 6

Rep: Reputation: 0
Download and install streamripper at streamripper.sourceforge.net
Create a script such as /usr/bin/ripKmfdm.sh containing the command.
For Example:
Quote:
streamripper horde.whutdufuk.com:8000/ -d /mnt/rip -r 8008 -u "iTunes/4.7"
Create an entry in the crontab to launch and kill the script at a certain time.
Quote:
00 13 * * 1-5 /usr/bin/ripKmfdm.sh
00 16 * * 1-5 /usr/bin/killall streamripper
 
Old 01-09-2007, 02:15 PM   #3
Mateo
LQ Newbie
 
Registered: Jan 2007
Posts: 2

Rep: Reputation: 0
Hey, bumping this really old thread I found via Yahoo. I have tried the same thing.

My problem is that the process gets cut short. Every time I do it, it cuts short after recording 1004kb. It's the same file size every time, so it makes me think that it's not cutting off after a certain time, but rather a certain file size. I have no clue what could be causing this.

Here's my script:
Code:
#!/bin/bash
streamripper URL -d ~/Audio/Radio -s -a -l 10800
rm -rf ~/Audio/Radio/incomplete
rm ~/Audio/Radio/*.cue
If I run the script on its own, it records for the whole 3 hours (10800 seconds). If I run through crontab, it stops after 1004kb. Here's my cron job:
Code:
00 10 * * 1-5 /home/matthew/.ripradio
 
Old 01-09-2007, 04:48 PM   #4
dino9832
LQ Newbie
 
Registered: Oct 2004
Location: San Antonio, Texas
Posts: 6

Rep: Reputation: 0
Wow! This is an old one.
Have you tried looking in the logs for any error messages?
I'm not sure where they would appear, but it's somewhere like:
/var/log/messages
/var/log/cron
 
Old 01-09-2007, 09:48 PM   #5
Mateo
LQ Newbie
 
Registered: Jan 2007
Posts: 2

Rep: Reputation: 0
thanks, but i think it's working now. it's one of those things that doesn't work, doesn't work, doesn't work, and then suddenly works as if for no reason. I just kept testing it for different days, never really altered anything, and suddenly it worked. whatever, i'll take any victory i can get.

thanks regardless.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Audio Recording. svendabassist Linux - Software 1 02-03-2005 11:08 PM
Recording Audio-in Dirk the Daring Linux - General 0 12-23-2004 10:43 AM
can i use this line for audio recording? tacca Linux - Hardware 0 10-23-2004 09:53 AM
need help recording audio havokok Linux - Software 0 03-03-2004 07:41 PM
Recording audio with Linux spoody_goon Linux - General 13 01-03-2004 11:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:00 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration