Guyfawkes
Certified Idiot :)
For my next game I am writing a media player which is integrated into the game. Due to time constraints to get the game ready for the community coding competition the media player will be a cut down version of what the final version will be. As a result file/folder browsing will not be possible and the media player will scan a certain folder and its sub folders for music.
I have two ideas to get around this for the moment, the first is to make the default folder changeable by editing the configuration file, i.e. /music/, /audio/, /music/ etc. Or the second is to either stick to the GP2X Standards site recommendation of /audio/ or just scan the entire SD card from root. They all have advantages and disadvantages so I am not sure which do implement.
Once the scan is complete, the music files found are saved to one big .m3u playlist file and future loading of the game will read this file instead of rescanning. In a future release the playlist support will be better handled with individual playlists for each folder (i.e. an album) which you will then be able to select in game.
So what I want to know is how do you think the scanning should be done, either a default folder changeable by editing the configuration file or scan the SD card either from root or the GP2X Standard '/audio/'. Please reply here with what you reckon would be best.
I have two ideas to get around this for the moment, the first is to make the default folder changeable by editing the configuration file, i.e. /music/, /audio/, /music/ etc. Or the second is to either stick to the GP2X Standards site recommendation of /audio/ or just scan the entire SD card from root. They all have advantages and disadvantages so I am not sure which do implement.
Once the scan is complete, the music files found are saved to one big .m3u playlist file and future loading of the game will read this file instead of rescanning. In a future release the playlist support will be better handled with individual playlists for each folder (i.e. an album) which you will then be able to select in game.
So what I want to know is how do you think the scanning should be done, either a default folder changeable by editing the configuration file or scan the SD card either from root or the GP2X Standard '/audio/'. Please reply here with what you reckon would be best.