ironsmile / euterpe

Self-hosted music streaming server 🎶 with RESTful API and Web interface. Think of it as your very own Spotify! ☁️🎧
https://listen-to-euterpe.eu
GNU General Public License v3.0
522 stars 42 forks source link

XDG compliance #33

Open yigitsever opened 2 years ago

yigitsever commented 2 years ago

Hello,

Euterpe does not follow the XDG Base Directory Specification, I came across two behaviors from a fresh install so far;

Euterpe can instead follow XDG specification;

So user set directories (custom and/or localized!) will be used instead, with sane fallbacks.

ironsmile commented 2 years ago

Good suggestion. I've been postponing this for forever but your suggestion is quite good. I've never realized that localized directories will be problem with the current English only approach which is silly of me considering I even not a native speaker! :smile:

What I would probably end up doing is also moving the SQLite database into the ${XDG_DATA_DIRS}/euterpe directory if set.