Свойство | Тип | Описание | |
---|---|---|---|
$duration | string | The duration of the currently active track (hh:mm:ss). | |
$position | string | The position of the currently active track (hh:mm:ss). | |
$queueNumber | integer | The zero-based number of the track in the queue. | |
$stream | string | null | The name of the stream currently currently playing (or null if we are not on a stream). | |
$trackNumber | integer | The number of the track on it's album. |
Метод | Описание | |
---|---|---|
__construct ( $uri = null ) | Create a Track object. | |
createFromXml ( duncan3dc\DomParser\XmlElement $xml, |
Update the track properties using an xml element. |
public static createFromXml ( duncan3dc\DomParser\XmlElement $xml, |
||
$xml | duncan3dc\DomParser\XmlElement | The xml element representing the track meta data. |
$controller | A controller instance on the playlist's network | |
Результат | static |
public string $duration | ||
Результат | string |
public string $position | ||
Результат | string |
public int $queueNumber | ||
Результат | integer |
public int $trackNumber | ||
Результат | integer |