Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] filename problems with convert patch




Hi, 

I am using AIO-14.08. patch. I have problems using the convert feature
with some filenames:

sh: -c: line 1: syntax error near unexpected token
`/video0/LateLounge/%Alarmstufe_1:_Tollwut(T'
sh: -c: line 1: `/video0/convert.pl
/video0/LateLounge/%Alarmstufe_1:_Tollwut(The_Watchdog)/2002-08-28.23:43.50.30.rec'

It is working if you apply the following patch:

--- menu.c~     Wed Aug 21 21:23:31 2002
+++ menu.c      Sun Sep  1 19:43:55 2002
@@ -2567,9 +2567,9 @@
   
     char *cmd = NULL;
     if(!ConvertCmd) 
-      asprintf(&cmd, "%s/convert.sh %s", ConfigDirectory, filename);
+      asprintf(&cmd, "%s/convert.sh \"%s\"", ConfigDirectory,
filename);
     else
-      asprintf(&cmd, "%s %s", ConvertCmd, filename);  
+      asprintf(&cmd, "%s \"%s\"", ConvertCmd, filename);  
     system(cmd);
     Interface->Info(tr("Added to convert list"));
     //fprintf(stderr, "%s\n", cmd);

Perhaps you can include it in the AIO patch.

Christoph

-- No attachments (even text) are allowed --
-- Type: application/pgp-signature
-- File: signature.asc
-- Desc: Dies ist ein digital signierter Nachrichtenteil





Home | Main Index | Thread Index