GNOME Bugzilla – Bug 533199
Lyrics directory should default to $XDG_CACHE_HOME/lyrics
Last modified: 2009-10-13 17:33:16 UTC
The lyrics folder currently defaults to ~/.lyrics . As the directory just is just a cache of lyrics downloaded from the internet the lyrics directory should default to $XDG_CACHE_HOME/lyrics. This way it can be automatically ignored by backup systems, etc. Other information:
Forgot to say: if $XDG_CACHE_HOME is undefined it should default to ~/.cache/ as seen here: http://standards.freedesktop.org/basedir-spec/latest/ar01s03.html
There's a g_get_user_cache_dir () function which probably does all of that for us (ie gets the appropriate cache directory name)
2009-03-09 Jonathan Matthew <jonathan@d14n.org> * plugins/lyrics/lyrics/__init__.py: Use 'lyrics' under the user cache dir for the default lyrics cache directory instead of ~/.lyrics. Fixes #533199.