Project

General

Profile

$duration » History » Version 2

Per Amundsen, 02/17/2014 11:11 PM

1 1 Per Amundsen
_Added in 1.8.10_
2
3 2 Per Amundsen
*$duration*
4 1 Per Amundsen
5
Returns the duration of the currently playing song in milliseconds.
6
7
_Only works if Media Player is set to iTunes/MediaMonkey/Winamp and proper plugins are installed._
8 2 Per Amundsen
9
10
*$duration(seconds,[N])*
11
12
Returns the specified number of seconds in a week/day/hour/minute/second format.
13
14
*Parameters*
15
16
seconds - Number of seconds or a $duration value to convert back into seconds.
17
N - If N = 2, the result does not include the seconds value. If N = 3, the result is in hh:nn:ss format.