Fix manual overrides to use . preifx

This commit is contained in:
2014-07-15 22:26:33 +01:00
parent 2050e05373
commit 961b8e5f45

View File

@@ -136,7 +136,9 @@ class DownloadDispatcher_Source_Plugin_TV extends DownloadDispatcher_Source_Plug
}
// Post-process in any manual directory mappings
$this->output_dir_cache = array_merge($this->output_dir_cache, $this->config->get('sources.TV.output_series_mappings'), array());
foreach ($this->config->get('sources.TV.output_series_mappings', array()) as $k => $v) {
$this->output_dir_cache['.'.$k] = $v;
}
}
protected function normalise($name) {