mIRC Home    About    Download    Register    News    Help

Print Thread
sound lenght #45365 30/08/03 04:58 PM
Joined: Jun 2003
Posts: 23
V
vakuum Offline OP
Ameglian cow
OP Offline
Ameglian cow
V
Joined: Jun 2003
Posts: 23
with the versions before mirc, $asctime($calc($ctime($date) + ($sound($insong.fname).length / 1000)), nn:ss) used to return the lenght of the song playing, however, when doing this now, it doesnt work smirk

but $asctime($calc($insong.length / 1000),nn:ss) do work now, i don't know if this one worked before or not.

And i didnt see ant changes about $asctime in the versions.txt, so i suppose this a another bug in mirc 6.1


#HelpDesk @ DALnet
Re: sound lenght #45366 30/08/03 11:12 PM
Joined: Jul 2003
Posts: 19
K
kamelion Offline
Pikka bird
Offline
Pikka bird
K
Joined: Jul 2003
Posts: 19
Yes, i noticed that one too... its strange, but I too use $insong now... ah well, you cant expect mIRC to be bug free smile Khaled is human and makes mistakes too smile

Re: sound lenght #45367 06/09/03 09:31 AM
Joined: Feb 2003
Posts: 42
G
GregMo Offline
Ameglian cow
Offline
Ameglian cow
G
Joined: Feb 2003
Posts: 42
You're doing better than me :-/ It wasn't till I came across this post that it dawned on me that $sound().lenght is in 1000ths of a second. How many people need to know, or would ever use the value of how many 1000ths of a second a mp3 is long. Another real drag is the use of $asctime. Really sucks we can't get a parameter out of duration to do this with.

Cheers,
GregMo