CC-84: Smart Playlists
- Length calculation for dynamic blocks and playlist that contains dynamic blocks
This commit is contained in:
parent
1b0cd6b01b
commit
9d51222dae
6 changed files with 78 additions and 10 deletions
|
@ -16,6 +16,9 @@ class LengthFormatter {
|
|||
}
|
||||
|
||||
public function format() {
|
||||
if ($this->_length == "N/A" || $this->_length == "") {
|
||||
return "N/A";
|
||||
}
|
||||
|
||||
$pieces = explode(":", $this->_length);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue