If G_USER_DIRECTORY_MUSIC == HOME, then XDG_MUSIC_DIR is most probably not set properly and the user should not be prompted to import his home directory on the first run of pragha.
I could not figure out a better way to check if XDG_MUSIC_DIR is properly set, but I think this is sane enough.
If G_USER_DIRECTORY_MUSIC == HOME, then XDG_MUSIC_DIR is most probably not set properly and the user should not be prompted to import his home directory on the first run of pragha.
I could not figure out a better way to check if XDG_MUSIC_DIR is properly set, but I think this is sane enough.