Added source browser

Added a SourceLister class, which enumerates all DVD folders below a given starting directory.
Added a source browse page to list the available sources
This commit is contained in:
2010-03-21 02:14:41 +00:00
parent 48e596841a
commit 835609a2c9
4 changed files with 94 additions and 10 deletions

10
pages/browse/sources.php Normal file
View File

@@ -0,0 +1,10 @@
<?php
$main = HandBrakeCluster_Main::instance();
$config = $main->config();
$lister = new HandBrakeCluster_Rips_SourceLister($config->get('rips.source_dir'));
$this->smarty->assign('sources', $lister->sources());
?>