And before you ask, I know all about $duration and $insong.length.
Anyways, I just finished making a 20kb "media" player that will play WAV, MID, MP3, and OGG files based on mIRC's internal linking to WMP. It very nicely displays the length of tracks you're playing... when you're playing them. What I have set up though is an option to click on any track in your playlist and it gives info on the track; ID3(v2) info if it's an MP3 or OGG, and the filename with two directories back if it's a WAV or MID. What I want to do is also put the length of the song in with that little slice of info. Very easy to do with MP3, but I see no way whatsoever to do it using any mIRC identifiers for the other three formats. My other option was to tear into the beast known as OGG documentation, but I saw no binary values in OGG files that contain track length and I very quickly drowned in all that technical mumbo jumbo. Any suggestions?
Here's the highly disorganized code in case anyone needs to see it.
http://www.dszone.org/Files/Playlist.mrcEDIT: Oh, I almost forgot. In the script, I use $findfile and $finddir to put the entire playlist in the custom window's main textbox and the current browsing directory in the sidebox. But those two seem to fill dir and filenames in order of the date and time the file was created on rather than (what I'd assume would be normal) alphabetically. Any idea how to get it to run alphabetically?