File::getSpecialLocation() request


#1

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


#2

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


#3

oops !
"~/Music" of course !

thank you


#4

And on linux…?


#5

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…


#6

~ 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:


#7