Files
handbrake-cluster-webui/webui/pages/rips/sources.php
Ben Roberts 89ddcba363 Renamed the codebase to RippingCluster
Since the new design is engine agnostic, removed HandBrake from the
class names.
2010-08-25 21:46:50 +01:00

17 lines
458 B
PHP

<?php
$main = RippingCluster_Main::instance();
$config = $main->config();
$lister = new RippingCluster_Rips_SourceLister($config->get('rips.source_dir'));
$sources = $lister->sources();
$sources_cached = array();
foreach ($sources as $source) {
$sources_cached[$source->filename()] = RippingCluster_Rips_Source::isCached($source->filename());
}
$this->smarty->assign('sources', $sources);
$this->smarty->assign('sources_cached', $sources_cached);
?>