From 961b8e5f4536ec75b75406a1df93c13f0d4fd114 Mon Sep 17 00:00:00 2001 From: Ben Roberts Date: Tue, 15 Jul 2014 22:26:33 +0100 Subject: [PATCH] Fix manual overrides to use . preifx --- source/lib/DownloadDispatcher/Source/Plugin/TV.class.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/source/lib/DownloadDispatcher/Source/Plugin/TV.class.php b/source/lib/DownloadDispatcher/Source/Plugin/TV.class.php index e96bc6e..eca2705 100644 --- a/source/lib/DownloadDispatcher/Source/Plugin/TV.class.php +++ b/source/lib/DownloadDispatcher/Source/Plugin/TV.class.php @@ -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) {