itsr0y
5th July 2002, 05:24
I'm a relatively new programmer and I would like to make a program (or plugin) that allows the user to search for an Artist, Album, or Song and have that playlist or song loaded into winamp and played. I really do not know how to implement such a program.
I will probably have my songs organized on my hard drive in the format \Artist\Album\Song.mp3 or \Artist\Album - Song.mp3, as well as a few miscellaneous folders (e.g. Rap, Rock, TV Themes). All the artists and albums will have their own .m3u files (i.e. each artist folder will have a playlist for each album as well as a playlist containing all of the albums.) I will have all my songs have information in ID3 tags if needed. I don't care whether I use Winamp2 or Winamp3 - whichever one is easier to work with is the one I'll use.
The end goal of this project is to be able to say "Artist Mr. Bungle" and Winamp will load a playlist with all of the Mr. Bungle songs, or "Album Make Yourself" and it will load Incubus's "Make Yourself", but for now simply typing the search string into a textbox would be fine.
Does anyone have any ideas how to set this up? I suppose I could have a database or text file with all of the album names, artist names, and song names, but the song name list would get rather large, and it would be a pain to add every single song to the database. Maybe if, whenever I add a new file, I can run a program to update the database... If winamp3's media browser could handle it, I just need some info on how to set up the program to actually load winamp's playlist with the search results (and I want the albums to be in order by track, not alphabetical by track name.)
Any thoughts on this topic would be greatly appreciated!
Thanks for reading this!
itsr0y
I will probably have my songs organized on my hard drive in the format \Artist\Album\Song.mp3 or \Artist\Album - Song.mp3, as well as a few miscellaneous folders (e.g. Rap, Rock, TV Themes). All the artists and albums will have their own .m3u files (i.e. each artist folder will have a playlist for each album as well as a playlist containing all of the albums.) I will have all my songs have information in ID3 tags if needed. I don't care whether I use Winamp2 or Winamp3 - whichever one is easier to work with is the one I'll use.
The end goal of this project is to be able to say "Artist Mr. Bungle" and Winamp will load a playlist with all of the Mr. Bungle songs, or "Album Make Yourself" and it will load Incubus's "Make Yourself", but for now simply typing the search string into a textbox would be fine.
Does anyone have any ideas how to set this up? I suppose I could have a database or text file with all of the album names, artist names, and song names, but the song name list would get rather large, and it would be a pain to add every single song to the database. Maybe if, whenever I add a new file, I can run a program to update the database... If winamp3's media browser could handle it, I just need some info on how to set up the program to actually load winamp's playlist with the search results (and I want the albums to be in order by track, not alphabetical by track name.)
Any thoughts on this topic would be greatly appreciated!
Thanks for reading this!
itsr0y