Mailing List archive

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

[vdr] Re: problem with samba share.cannot see the *.vdr files



Klaus Schmidinger wrote:


> 
> You can add these characters to the CharExchange[] array in VDR/recording.c
> (between the #ifdef VFAT ... #endif), like
> 
> #ifdef VFAT
>   { ':',  '\x03' },
>   { '?',  '\x04' },
>   { '*',  '\x05' },
> #endif
> 
> Let me know if this works for you, and I'll add it to the next release.
> 

I had the same problems with my VFAT drive. I did change the filename 
creating routine in the following way:

char *ExchangeChars(char *s, bool ToFileSystem)
{
   char *p = s;
   while (*p) {
         if (!isalnum(*p))
           *p = '_';
         p++;
         }
   return s;
}

This works fine for me. That's why I like GPL software :-)

mfg
Joachim





Home | Main Index | Thread Index