By empty data i mean 0'ed out at the beginning of the file. After the ID3v2 data (if found) and after the LAME data. Where the file actually starts and perhaps search for the correct beginning, then calculate a length offset or something. I've tried this and haven't come up with positive results. I study most of the mp3's i'm trying using Hex Workshop. The empty data 0000 0000 0000 etc... Trying to find a constant string to find to then calculate the length offset.

As far as $insong is concerned it'd have to be playing first before I could use that identifier frown. $insong only works if something is playing. I need to get this data before playing the file.


We don't just write the scripts, we put them to the test! (ScriptBusters)