Renamed browse subdir to rips, and fixed links
This commit is contained in:
17
pages/rips/sources.php
Normal file
17
pages/rips/sources.php
Normal file
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
$main = HandBrakeCluster_Main::instance();
|
||||
$config = $main->config();
|
||||
|
||||
$lister = new HandBrakeCluster_Rips_SourceLister($config->get('rips.source_dir'));
|
||||
$sources = $lister->sources();
|
||||
|
||||
$sources_cached = array();
|
||||
foreach ($sources as $source) {
|
||||
$sources_cached[$source] = HandBrakeCluster_Rips_Source::isCached($source);
|
||||
}
|
||||
|
||||
$this->smarty->assign('sources', $sources);
|
||||
$this->smarty->assign('sources_cached', $sources_cached);
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user