[mythtv-users] mythrename.pl renames my .avi to .nuv

Christophe Zwecker doc at zwecker.de
Mon Jan 15 21:26:40 UTC 2007

Robin Hill wrote:

> No, it's working on the output from "file", not the file extension.
> You'll want to revert to the original .mpg check (since it probably
> won't appear at the end of the line), then add the following for AVI
> detection:
>         $suffix = ".avi" if ( $out =~ /avi/i );

sweet! it works now, thx alot to both of you.


Christophe Zwecker
Koppel 96
20099 Hamburg
phon: +49 40 41263790
  fax: +49 40 41263799
mail: czwecker at sysctl.de

More information about the mythtv-users mailing list