Project

General

Profile

$duration » History » Revision 3

Revision 2 (Per Amundsen, 02/17/2014 11:11 PM) → Revision 3/10 (Per Amundsen, 08/11/2015 01:51 PM)

_Added in 1.8.10_ 

 *$duration* 

 Returns the duration of the currently playing song in milliseconds. 

 _AdiIRC only._ 
 _Only works if Media Player is set to iTunes/MediaMonkey/Winamp and proper plugins are installed._ 


 *$duration(seconds,[N])* 

 Returns the specified number of seconds in a week/day/hour/minute/second format. 

 *Parameters* 

 seconds - Number of seconds or a $duration value to convert back into seconds. 
 N - If N = 2, the result does not include the seconds value. If N = 3, the result is in hh:nn:ss format.