Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: MythTV: Users

Problem with mythrename.pl and DVB Radio Recordings

 

 

MythTV users RSS feed   Index | Next | Previous | View Threaded


lists at manor-farm

Jan 30, 2008, 9:21 AM

Post #1 of 3 (708 views)
Permalink
Problem with mythrename.pl and DVB Radio Recordings

I am not sure if this has always been a problem, or I have only just
found out about it. I am running the latest svn of MythTV and have
noticed that mythrename was getting "stuck" on certain programs.

Running mythrename.pl --verbose --link /mylinks_dir

I can see that when it reaches a radio recording it simply "hangs", with
no errors or other output. These are recordings made from UK DVB Freview
radio channels.

If I delete the recorded radio programs, mythrename works as expected.
It's not just one particular program, but seems to happen with any radio
recording.

Ian.
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


mtdean at thirdcontact

Jan 30, 2008, 12:23 PM

Post #2 of 3 (637 views)
Permalink
Re: Problem with mythrename.pl and DVB Radio Recordings [In reply to]

On 01/30/2008 12:21 PM, Ian Barton wrote:
> I am not sure if this has always been a problem, or I have only just
> found out about it. I am running the latest svn of MythTV

I'm assuming you mean the "latest" (which really means "recent" ;) SVN
trunk.

> and have
> noticed that mythrename was getting "stuck" on certain programs.
>
> Running mythrename.pl --verbose --link /mylinks_dir
>
> I can see that when it reaches a radio recording it simply "hangs", with
> no errors or other output. These are recordings made from UK DVB Freview
> radio channels.
>
> If I delete the recorded radio programs, mythrename works as expected.
> It's not just one particular program, but seems to happen with any radio
> recording.

What happens when you apply the attached patch to mythrename.pl? Note:
It is not meant as a solution to your problem (thus the name), but
should help identify if the problem is what I think it may be. It
simply disables the "filetype" check (which is currently performed using
mplayer).

You should be able to apply the patch by going into the directory
containing mythrename.pl (or a copy of mythrename.pl) and issuing the
command:

patch -Np1 -i /path/to/mythtv-mythrename_filetype_hack.patch

Note that once the patch is applied all your links will have the ".mpg"
extension--even those that refer to NUV files. This is unimportant
unless you're using the links with a broken OS that relies on filename
extensions to figure out a file's content type.

If the patch allows mythrename.pl to succeed, please reply with the
output of:

mplayer -v -v -v -v -nolirc -nojoystick \
-vo null -ao null -frames 1 \
-identify '/path/to/radio_recording.mpg' 2>&1 |
tee ~/mplayer_identify_radio_output

This can be used to "fix" the bindings to work on radio streams.

Thanks,
Mike
Attachments: mythtv-mythrename_filetype_hack.patch (1.01 KB)


lists at manor-farm

Jan 31, 2008, 5:06 AM

Post #3 of 3 (627 views)
Permalink
Re: Problem with mythrename.pl and DVB Radio Recordings [In reply to]

>> I am not sure if this has always been a problem, or I have only just
>> found out about it. I am running the latest svn of MythTV
>
> I'm assuming you mean the "latest" (which really means "recent" ;) SVN
> trunk.
>
>> and have noticed that mythrename was getting "stuck" on certain
>> programs.
>>
>> Running mythrename.pl --verbose --link /mylinks_dir
>>
>> I can see that when it reaches a radio recording it simply "hangs",
>> with no errors or other output. These are recordings made from UK DVB
>> Freview radio channels.
>>
>> If I delete the recorded radio programs, mythrename works as expected.
>> It's not just one particular program, but seems to happen with any
>> radio recording.
>
> What happens when you apply the attached patch to mythrename.pl? Note:
> It is not meant as a solution to your problem (thus the name), but
> should help identify if the problem is what I think it may be. It
> simply disables the "filetype" check (which is currently performed using
> mplayer).
>
> You should be able to apply the patch by going into the directory
> containing mythrename.pl (or a copy of mythrename.pl) and issuing the
> command:
>
> patch -Np1 -i /path/to/mythtv-mythrename_filetype_hack.patch
>
> Note that once the patch is applied all your links will have the ".mpg"
> extension--even those that refer to NUV files. This is unimportant
> unless you're using the links with a broken OS that relies on filename
> extensions to figure out a file's content type.
>
> If the patch allows mythrename.pl to succeed, please reply with the
> output of:
>
> mplayer -v -v -v -v -nolirc -nojoystick \
> -vo null -ao null -frames 1 \
> -identify '/path/to/radio_recording.mpg' 2>&1 |
> tee ~/mplayer_identify_radio_output
>
> This can be used to "fix" the bindings to work on radio streams.
>
> Thanks,
> Mike
>
>

Mike,

The patch allowed mythrename.pl to run without stopping. The output from
the mplayer command is very large. I have appended what appears to be
the relevant part from the start of the file. Let me know if you need
any more.

Ian.
Attachments: mplayer_identify_radio_output (7.34 KB)

MythTV users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.