The way you have posted above will get a lot of gripes from users of Mobile Impact. Most users dont want to be forced to have their music in a specific place let alone have to organize it by genre within that specific place. What centrafuse does to rememdy the problem of searching the folders each time its started is to have an "Import Music To Database" function. I personally think this is a "simple" and elegant way to go. I am pretty sure that centrafuse doesnt check the id3 tag for each song to find its album art, it just uses the "default.jpg" of the directory that the file resides in.
This can cause issues if the users doesnt keep a well organized mp3 collection, but that shouldnt be for you, the developer, to worry about.... unless of course you want to code some sort of music organizer that will scan id3 tags and organize the persons collection for them via artist/album/song.mp3. But again I really dont think the onus should be on you to do that.
Centrafuse also simplifies things a bit by not browsing by genre when viewing the album art. It just lists all album art found within directories the users has chosen in the settings page for their music to reside. Any directory not containing album art gets a generic image.
Maybe I am thinking Centrafuse works so great in this regards because I already have my music sorted very neatly. My directory structure is as follows.
D:\music\
----------->Artist1
----------->Artist2
----------->Artist3
----------->Artist4
----------->Artist5
--------------------->Album1
--------------------->Album2
--------------------->Album3
-------------------------------->song1.mp3
-------------------------------->song2.mp3
-------------------------------->song3.mp3
-------------------------------->song4.mp3
etc etc
Now every user shouldnt be forced to sort their music like this, but it should be expected that they should have their music somewhat organized for Mobile Impact to reach its highest potential as a media player. If they dont, then any type of viewing/adding music whether it be by album art or not is going to be difficult for them.
What IMHO would be ideal is if the user could, in the settins page, choose their default music directory or possibly even a few music directories, and then they could click an "Import Music" button and that button would have the function of creating a database of some type of what files are where or even which directories contain which album art. That way, when a user selects "view by album art" in the playlist editor all the info is there already in the database as to which album art to display for each subdirectoy of the default music directory thus taking a lot less time than searching the default music directory recursively for album art.
If you are really wanting to sort the musics album art by genre might I suggest this. Use the same type of database that would be used for viewing ALL album art, but have an extra "genre" row/column in the db for each album. This "genre" row would be populated by the first song listed in each albums directory and would not have to be done for each song, nor album. but only once for each artist.
Whew, I once again hope I have been clear enough. If you are unsure again feel free to comment.
Gumby



LinkBack URL
About LinkBacks
Reply With Quote



Bookmarks