neithern / g4music

A light weight music player written in GTK4, with a fluent adaptive user interface.

Home Page:https://gitlab.gnome.org/neithern/g4music

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Feature request] Do not assume any default music folder

marek-lach opened this issue · comments

Always let the user choose, or confirm their music folder/location when they launch the application. This would prevent issues with the application crashing when it tries to load a previous, no longer existing location on startup.

There is a standard to get the music folder:
xdg-user-dir MUSIC

Standard: https://www.freedesktop.org/wiki/Software/xdg-user-dirs/

But sure it should not crash rather show a message that the folder is gone...

There might also be a method of gnome libs that provide a wrapper for it - I don't know.