By December 27, 2013 I will need to have created a music player for a personal project. My schedule is extremely strict for my project to be successful. I've been fine with playing one music file. What I need now is to know how to get different music files to play like an itunes playlist. What I'm thinking is having music files in a folder and having a stream read that folder. BUT I have no idea how to do this. I know that I have to run the music player in a separate thread than the main menu, but have the main menu change variables for playlists to play. What I'm missing now is just, how do you make a playlist? Can you make one sf::Music function have more than one file assigned? If not, how can I achieve something similar? Any help will be appreciated. Thank you very much.
For those of you who are curious, my project is a smart helmet. I think I'm calling it Smart FML Helmet in honor of the library. I chose to use SFML because although the library is made for games, it seems to have everything I need for my project. My software will be a main menu that will have access to a music menu and a stats menu. The music meny will allow you to chose from different playlists/genres. The stats menu will tell you basic stats about the helmet, like time it's been used or battery left. The menu will be easily accessible from a joypad. My idea is to rebuild my PC in my helmet with along with an audio system and an HUD (with a small screen) A joypad will be connected via bluetooth (I'm also having trouble with that if anyone wants to help). The joypad will have easy music access controls. Changing a playlist will be as easy as changing a radio station in Grand Theft Auto V (I could also use help with playlist changing). A strap for the joypad will be built for it to be able to strap onto a motorcycle or ATV handle bar. Thank you for all support in this project. All help will be appreciated.