There have been questions on using playlists to load songs using AMS rather than WMP or WinAmp or similar app. I have put this small app together for people to look at. In short, you click on the album you want play and it will load all the songs from a .m3u file into a list box. To start playing the song you will need to double-click on the song you want to play. In order to use this app correctly you will need to place mp3s into the music directory and create your own playlist.m3u. There is a .m3u there by default but you will want to add your own songs to it to have it work correctly.
Click Here
Download the above file and unzip (with folders) to your AMS Project directory. Open the m3u playlist.am4 file to view the program. I have not included the built files to save on room. I figured you would be able to build it on your own. The program is not very elaborate, I figured you all could embellish on your own.
When creating your playlist, only include the name of the .mp3 file. Do not include the path. If you use WinAmp or other software to build your .m3u file you may need to edit it so it only includes the file name. If you want to build your own .m3u using the Windows Command Prompt, here is how you would do it.
You will need to add a file called playlist.m3u along with the songs to the \music directory in order for it to work. The playlist.m3u should contain just the filenames of the songs in the \music directory. To create a simple .m3u file you can use the dir command with a /b option and output it to a file.
1. Copy your mp3s to the \music directory
2. Open a command prompt (Start->Run and type cmd or command if you are running Win98/95)
3. Use cd to navigate to the \music directory of your project
4. Type <pre>c:\dir /b > playlist.m3u</pre>
5. While still in the command prompt type <pre>edit playlist.m3u</pre>
6. Remove the line that contains the file name <pre>playlist.m3u</pre> and make sure that there is not a carridge return on the very last line. Use your arrow keys to navigate within the edit window. (You can use Notepad or other software as well, what ever you are most comfortable with using. To edit using notepade type <pre>notepad.exe playlist.m3u</pre>)
7. Save your file. Within the edit window, hit <pre>Alt+F</pre> to open the file menu and the <pre>S</pre> to save.
8. <pre>Alt+F</pre> then <pre>X</pre> will exit the edit mode.
9. You are then ready to build and run your project
Click Here
Download the above file and unzip (with folders) to your AMS Project directory. Open the m3u playlist.am4 file to view the program. I have not included the built files to save on room. I figured you would be able to build it on your own. The program is not very elaborate, I figured you all could embellish on your own.
When creating your playlist, only include the name of the .mp3 file. Do not include the path. If you use WinAmp or other software to build your .m3u file you may need to edit it so it only includes the file name. If you want to build your own .m3u using the Windows Command Prompt, here is how you would do it.
You will need to add a file called playlist.m3u along with the songs to the \music directory in order for it to work. The playlist.m3u should contain just the filenames of the songs in the \music directory. To create a simple .m3u file you can use the dir command with a /b option and output it to a file.
1. Copy your mp3s to the \music directory
2. Open a command prompt (Start->Run and type cmd or command if you are running Win98/95)
3. Use cd to navigate to the \music directory of your project
4. Type <pre>c:\dir /b > playlist.m3u</pre>
5. While still in the command prompt type <pre>edit playlist.m3u</pre>
6. Remove the line that contains the file name <pre>playlist.m3u</pre> and make sure that there is not a carridge return on the very last line. Use your arrow keys to navigate within the edit window. (You can use Notepad or other software as well, what ever you are most comfortable with using. To edit using notepade type <pre>notepad.exe playlist.m3u</pre>)
7. Save your file. Within the edit window, hit <pre>Alt+F</pre> to open the file menu and the <pre>S</pre> to save.
8. <pre>Alt+F</pre> then <pre>X</pre> will exit the edit mode.
9. You are then ready to build and run your project
Comment