Mailing List archive

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

[vdr] Re: SAMBA incompatibilities with VFAT=1 directory names



Manfred Schmidt-Voigt wrote:
> 
> > -----Original Message-----
> > From: kls@cadsoft.de [mailto:kls@cadsoft.de]On Behalf Of Klaus
> > Schmidinger
> > Sent: Wednesday, April 24, 2002 11:30 PM
> > To: vdr@linuxtv.org
> > Subject: [vdr] Re: SAMBA incompatibilities with VFAT=1 directory names
> >
> >
> > Manfred Schmidt-Voigt wrote:
> > >
> > > ...
> > > I started to write you this answer: (If I like to write prosa like "
> > > %Was#5FSie#5Fschon#5Fimmer#5Fueber#5FSex#5Fwissen#5Fwollten "
> > > (37,28%overhead)
> >
> > What's this all about??
> > I was under the impression that the recording name
> >
> >   %Was Sie schon immer ueber Sex wissen wollten
> >
> > would be stored as
> >
> >   %Was_Sie_schon_immer_ueber_Sex_wissen_wollten
> >
> > (AFAIK WIndows _can_ handle the '_' character). So what's the deal with
> > the '#5F'? Are you getting names like that? In that case that would be
> > a bug in VDR.
> >
> 
> this is a "ls" from my /video directory:
> 
> stereo:/video # ls
> %%Bei#5FAnruf#5FMord                                         channels.conf
> %%Das#5Fsiebte#5FZeichen
> channels.conf.neu
> %%Die#5FGoetter#5Fmuessen#5Fverrueckt#5Fsein
> channels.conf.old
> %Bei#5FAnruf#5FMord                                          channels.conf~
> %Die#5FGoetter#5Fmuessen#5Fverrueckt#5Fsein                  commands.conf
> %Spione#5Fwie#5Fwir                                          epg.data
> %Was#5FSie#5Fschon#5Fimmer#5Fueber#5FSex#5Fwissen#5Fwollten  keys-pc.conf
> .                                                            lost+found
> ..                                                           setup.conf
> Die#5FGoetter#5Fmuessen#5Fverrueckt#5Fsein                   svdrphosts.conf
> RMT-V102
> svdrphosts.conf~
> Was#5FSie#5Fschon#5Fimmer#5Fueber#5FSex#5Fwissen#5Fwollten   timers.conf
> stereo:/video #
> 
> Maybe you understand my problem better when you see this. I use also the AIO
> patch 10.04, and VDR 1.0.0 so I don't know if this happens also with vanilla
> VDR 1.0.1. But these are the facts. My system is Linux kernel 2.4.10 on
> distri 7.3 SUSE. Maybe I have a problem with the language settings or font
> settings or stty settings or settings whereever in this "correct"
> filesystem. Or we can discuss now about RedHat or Debian or Mandrake or
> whatelse is better...

Ah, I can see that you find this annoying.
However, VDR doesn't encode blanks as #5F (which actually is the '_' character).
I assume that the recording names in your timers already have blanks mapped
to underlines. VDR (with VFAT=1) uses a selected set of characters "as is",
maps blanks to underlines and encodes other characters to #XX. So if the
incoming name already contains underlines, these are encoded to #5F.

How are you generating your timer entries? Are you using a tool that maps
blanks to underlines?

What I could do is change VDR so that it leaves underlines untouched when
encoding file names to OS specific names, but then these would be mapped to
blanks when going from OS specific back to file names. However, I guess this
wouldn't bee much of a problem (and would actually be the same bahviour as
without VFAT).

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