Hi Guys,
Long story short - I want to filter down the songs by genres, then
albums. The way it would work is the user gets a list of all genres.
They select one. Then they get a list of all albums within the genre.
They select one. Then they would get a list of songs for that specific
album.
I know that I can loop through every single song to find ones that
match my criteria and go from there. That is a very ugly solution
though and very inefficient. Is there a way to filter songs by
being able to specify what fields I want to filter on and what their
values have to be? I thought I saw a piece of code somewhere that lets
one do it, but I can't seem find it anymore.
A second part of the problem will be that I want to add a "save"
ability to bookmark where you left off (the way podcasts work). Do
songs have some sort of a identifier that I could store, or would I
have to store a genre, album, artist & name (and then search by all
those fields)? I am hesitant to use the song #, because once even a
single song is removed, the entire index can change..
Thanks a lot