0 votes

Basically what I want to try is to allow the user to use their own downloaded music as the music in the game, with the specific music to be used in specific situations defined by the user. Is this even possible, or is the music downloaded through these services only accessible to the default music player of the OS?

asked Feb 17, 2019 in Engine by toed (18 points)

I think AudioStreamPlayer only takes .wav and .ogg audio files. I'm not sure how well this will work with the file format iTunes uses (songs purchased from iTunes are aac by default) . Also, not all music will likely be saved to the users disk, since a lot of music is just streamed. You could try looking into this, but I have no idea if it will be helpful: MusicKit.

Default file location for iTunes:

  • Windows: C:\Users\<user>\Music\iTunes
  • Mac: /Users/<user>/Music/iTunes
  • Linux: not sure

Maybe something from this post would be useful in actually reading system files.

Thanks a lot! Anything helps.

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.