CC-84: Smart Playlists

- dynamic block length display
This commit is contained in:
James 2012-08-02 11:17:10 -04:00
parent f99574b723
commit 6e71a6bb92
4 changed files with 37 additions and 6 deletions

View file

@ -93,6 +93,9 @@ class Application_Model_Datatables
if ($r['ftype'] == 'playlist') {
$pl = new Application_Model_Playlist($r['id']);
$r['length'] = $pl->getLength();
} else if ($r['ftype'] == "block") {
$bl = new Application_Model_Block($r['id']);
$r['length'] = $bl->getLength();
}
}
} catch (Exception $e) {