|
[Sample] Playing with music file(1)
Getting into My MusicIf you decide to have your own interface for playing music, one of the fundamental decisions is how to manage your library of MP3/WMA files. Do you use the existing library of another program (sUCh as Microsoft?Windows Media?Player), or do you write your own? This is not a particularly easy decision, and I am still not completely sure which is the best choice, but I had to make a decision or I would never be able to move on in my development. I decided that using a database to create my own library/catalog of music files would be the most flexible option, although this path would likely require more work at the beginning. I set up a new database in ASP">MSDE on my development machine, and created the following schema (actually it is a fair bit more complicated, but these are the key tables): 2003_fig1.gif" target=_top> 2003_fig1thumb.gif" border=0> Figure 1. A simple database schema for holding my music library Of course, after building my own system, along came what is arguably a mUCh better one in the form of XP/mediacenter/">Windows XP Media Center Edition, which created a bit of a conflict in my mind. Why continue building my own if I could go get a better one that is completely done for me? The confusion only lasted a few moments though; I am a programmer, so I often build things when it would be mUCh more logical to buy them. Reading the Tags
|