Hi,

I'm thinking about removing some config variables. The variables I'm
thinking of are: LOCALE, OVERLAY_DIR and FREEVO_CACHEDIR.

Why? Because I want to make some files in util independ of Freevo so
they can be used outside Freevo. Some modules only depend only Freevo
because of config with the variables above. 

LOCALE: The reason we need this is because the Python unicode default
sucks. I don't know why 'ascii' is the default encoding and I'm not
allowed to change that. That's why we need our Unicode and String
wrapper functions. So I suggest a file called encoding.py containing
Unicode and String and they use default settings from the system
locale settings with latin-1 as fallback. So the util modules only
need to depend on this, not the whole Freevo package. 

FREEVO_CACHEDIR: Why should the user change that. I suggest the
default to be /var/cache/freevo with a fallback to ~/.freevo/cache if
the user has no write permissions. The databases should go to
/var/lib/freevo with the fallback being ~/.freevo/lib.

OVERLAY_DIR: Some utils depend on the vfs, so I want a default here,
too. I guess ~/.freevo/vfs sounds good here. If the user doesn't like
it (like I myself), he could use a softlink to a better place. 


Comments please.


Dischi

-- 
Drinking coffee for instant relaxation?  That's like drinking alcohol for
instant motor skills.
                -- Marc Price

Attachment: pgpX1zYTC8ib5.pgp
Description: PGP signature

Reply via email to