File::getSpecialLocation() request

Hi,

Would it be possible to add the user’s music directory to the enum of the special locations in the File class ?
I believe such an auto-location could be rather useful as we’re all developping audio application, aren’t we ? :wink:

CSIDL code on win : CSIDL_MYMUSIC
on osx : “~/Desktop”

thanks

Not a bad suggestion, but why would it be ~/desktop on the mac?

oops !
"~/Music" of course !

thank you

And on linux…?

I’m not a Linux user, but I don’t think there’s such a special location on Linux.

However I saw you already used “~” for the userDocumentsDirectory on Linux…

~ is your home sweet home. a place where to put everything the way YOU like best…

i have hundreds of “Music” directories… which one is the one the Mac think it is the right one ?

:slight_smile: