clementine-player / Clementine

:tangerine: Clementine Music Player
https://www.clementine-player.org/
GNU General Public License v3.0
3.72k stars 671 forks source link

detect music directory based on kde settings #689

Open Clementine-Issue-Importer opened 10 years ago

Clementine-Issue-Importer commented 10 years ago

From XenoTerraCide on September 04, 2010 06:07:51

in System Settings -> Account Details -> Paths their is a music setting... it'd be nice if a fresh run could attempt to detect this (it seems amarok does now )

Original issue: http://code.google.com/p/clementine-player/issues/detail?id=689

Clementine-Issue-Importer commented 10 years ago

From john.maguire on September 08, 2010 05:04:10

Labels: -Type-Defect -Priority-Medium Type-Enhancement Priority-Low OpSys-Linux Component-MusicLibrary

Clementine-Issue-Importer commented 10 years ago

From XenoTerraCide on September 08, 2010 09:05:11

bonus points if it can be used to change that path... ( but that's not really necessary and if it seems to create messy ui don't do that part )

Clementine-Issue-Importer commented 10 years ago

From goetzchrist on January 02, 2011 11:19:11

KDE, GNOME, XFCE, and others use the XDG Base Directory Specification, which should make this kind of things less complicated. Using the XDG specs would benefit the majority of the Linux and BSD distributions.

the config file is located here: ~/.config/user-dirs.dirs

XDG_MUSIC_DIR is the needed variable.