LinuxTV Patchwork [ANNOUNCE] noad-0.7.1

login
register
mail settings
Submitter Matti Lehtimäki
Date March 14, 2010, 8:33 p.m.
Message ID <4B9D4829.9080708@gmail.com>
Download mbox | patch
Permalink /patch/12794/
State New
Headers show

Comments

Matti Lehtimäki - March 14, 2010, 8:33 p.m.
the Noad wrote:
> Hi, 
> 
> there is a new version of noad at
> 
> http://noad.heliohost.org
> 
> This Version handles also TS-Recordings.

Hi

Just a small problem I found in the new version. The script noadifnew 
does not recognize the new marks files (without the .vdr extension) 
produced for TS-files. This can be fixed with the attached patch. The 
patch also fixes a bug in the same file that prevents it from working 
with shells other than bash.

--
Matti

Patch

--- noad/noadifnew	2010-03-14 22:27:15.000000000 +0200
+++ noad-fix/noadifnew	2010-03-14 22:27:41.000000000 +0200
@@ -12,7 +12,8 @@ 
    exit -1
 fi
 fil="$2/marks.vdr"
-if  test -a $fil
+filts="$2/marks"
+if [ -e $fil -o -e $filts ]
 then
   echo "noad already done for $2"
 else

Privacy Policy