After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 533199 - Lyrics directory should default to $XDG_CACHE_HOME/lyrics
Lyrics directory should default to $XDG_CACHE_HOME/lyrics
Status: RESOLVED FIXED
Product: rhythmbox
Classification: Other
Component: Plugins (other)
0.11.x
Other All
: Normal minor
: ---
Assigned To: RhythmBox Maintainers
RhythmBox Maintainers
Depends on:
Blocks: 523057
 
 
Reported: 2008-05-14 21:56 UTC by Will Manley
Modified: 2009-10-13 17:33 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Will Manley 2008-05-14 21:56:47 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:
Comment 1 Will Manley 2008-05-14 22:00:15 UTC
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
Comment 2 Christophe Fergeau 2008-05-17 15:22:30 UTC
There's a g_get_user_cache_dir () function which probably does all of that for us (ie gets the appropriate cache directory name)
Comment 3 Jonathan Matthew 2009-03-09 09:45:38 UTC
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.