Hi! I've found an bug on mp3's length return values. I don't know why, but on some songs (not all) the $sound().length and $insong.length return different values.

For example, i have a song located at: C:\Users\User\Music\2pac ft. Outlawz - Scars.mp3

When i type:

echo -a $sound("C:\Users\User\Music\2pac ft. Outlawz - Scars.mp3").length it returns: 285649 (i.e. 4 minutes 45 seconds)

When i type: /splay "C:\Users\User\Music\2pac ft. Outlawz - Scars.mp3" and when playing i execute /echo -a $insong.length ir returns: 1142649 (i.e. 19 minutes 20 seconds).

When i open this mp3 in Aimp or Winamp or something else it returns correct value: 4 minutes 45/46 seconds

So, the problem is in $insong.length as i guess. I match this problem on some mp3's, but in else both identifiers return correct values.

If Khaled wants to see this mp3, i can give a link for download this mp3, as example.

P.S. Tested on mIRC 7.47, without any scripts (clean mIRC).

Last edited by klez; 09/03/17 12:26 PM.