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



Joachim Koenig wrote:
> 
> 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 :-)

This will change the names of your recordings in an irreversible way, though.

Klaus
-- 
_______________________________________________________________

Klaus Schmidinger                       Phone: +49-8635-6989-10
CadSoft Computer GmbH                   Fax:   +49-8635-6989-40
Hofmark 2                               Email:   kls@cadsoft.de
D-84568 Pleiskirchen, Germany           URL:     www.cadsoft.de
_______________________________________________________________



Home | Main Index | Thread Index