what would the $file(filename).blah be for an mp3 file length and for the kbps?
$sound(filename)
Returns either the directory for that file type, as above, or information about the sound file. Currently, only mp3 files are supported with the following properties.
Properties: album, title, artist, year, comment, genre, track, length, version, bitrate, vbr, sample, mode, copyright, private, crc
$sound(filename).length
$sound(filename).bitrate
for some reason it returned 249999. . . . . .
what am i supposed to do with that number? lol
Use...
$file(filename).size ...for file size in bytes
$sound(filename).bitrate ...for bitrate
not sure what $sound(filename).length is returning, my guess is it's the number of frames the mp3 contains.
$sound().length returns the length of the song in milliseconds.
Also, if you are using mIRC's /splay to play the song, you can use $insong (returns $true or $false by itself) to return $insong.fname for the filename, $insong.length for the length of the song in milliseconds and $insong.pos to tell you the current position, also in milliseconds.