interesting.. i never saw anyone code with underscores and initcaps to separate words before..
one tip - the forum software makes a real mess of copy pasted code if youre working in advanced mode.. i recommend you work in simple mode - there's a button that looks like [A/
A] in the top right.. click it and wait for the editbox background to change.. pasted code looks nicer now, i think because things like Public Sub when pasted in blue gain tags between but the space is not preserved.. so Public[/color][c olor=blue]Sub runs the words together...
i got some more suggestions for your player...
regarding the album sticking thing, can i request an expansion...?
there are two kinds of albums out there - mixed and nonmixed. I'm dimly aware youre in the states and so i know that club/dance music and mixed albums arent so popular over there but here goes:
i have a few albums that are separate tracks,, as in separate files, but they play back to back without interruption.. when encountering one of these albums, i'd love for the shuffle mode to play it from the start, all the way through in order before moving on
other albums are not mixed and they can be played in any order.
as for how to tell.. this is really diffcult! the only solid way is to look at the way the tune goes right up to the last milliseconds.. if it's still playing then its agood guess its a mixalbum.. standing in your way on this are problems like mp3 encoders filling up frames with silence if the data isnt enough to fill the frame. this typically occurs on the start of a song, not th end though.
a reasonable guess at whether an album is mixed or not, could be made from whether its all the same artist or not.. but this breaks in albums like Time by Electric Light Orchestra, where they mixed it, or albums like 40 top ten pop hits type albums where all are separate tracksfrom separate people
given the difficulty in determining what is a mixed and nonmixed i think you can resolve the logic by deferring to the CUE sheet situation i mentioned earlier...
if you loaded a cue sheet which specified an mp3, or you loaded an mp3 which has an equally named CUE, then its a cueable album.. you can parse the cue sheet and read the tracks out into the list to provide some visualization of them but...
if shuffle randomly lands on a track that is from a cue then it plays the mp3 file from the beginning
if shuffle randomly lands on a normal track, it randomly plays normally..
any ripper worth their salt, myself included (har har
![Smile :) :)](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
), who listens to gapless albums WILL rip the album as one long track an generate a cue to split it "logically" rather than "physically".. so this "if its a track thats part of a cue and shuffle (full albums) mode is on, then play from beginning" rule will be okay
regular expressions in searching are VERY handy, and having a little tickbox showing if the regex is valid and compiles is handy too
for more ideas see deliplayer
if you have a link where i can try a beta of the layer, i can come up with a ton of suggestions foryou im sure
![Wink ;) ;)](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
- never been interested in skins, visualization etc.. just a cool easy player with a great database andfile manipulation skills