[mythtv-users] Recording internet radio - will mythstream do it?

Gordon McCrae gordon.mccrae at googlemail.com
Wed Oct 22 18:17:17 UTC 2008


David Fishburn wrote:
>> On Mon, Oct 20, 2008 at 2:14 PM, David Fishburn
>> <dfishburn.mythtv at gmail.com> wrote:
>>     
>>> MythTV 0.21
>>>
>>> I want to record about 5 minutes of radio everyday.
>>>
>>> If MythStream can listen to the shows (internet streaming) does this
>>> mean we can also record the show as well?
>>> From what I read, it doesn't look like it can record.
>>>
>>> Anyone done anything similar?
>>>       
>> Yes and no. I use mplayer rather than myth for this (it can dump 2
>> hour shows from the BBC's listen again pages in about 15 minutes). If
>> you google for "mplayer record bbc radio" you'll find links to scripts
>> to do this. It works for live radio too.
>>     
>
> Thanks Chris and Steve.
>
> It was quite simple and I used a combination of the 2 suggestions.
>
> I wouldn't have thought of adding & and the killall inside the shell
> script.  That makes it more localized which I like.
>
> When you launch a program like this:
> mplayer ... &
>
> Is there a way you can know the PID it just launched to pass it to killall?
> That way if mythtv is using the mplayer instead of the internal player
> I don't kill it as well.
>   
The shell variable $! contains the process ID of the last process
executed in the background.
> Dave
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>
>   



More information about the mythtv-users mailing list