From 2db812b5cb41048c6da5b141424cabfe7e0f040d Mon Sep 17 00:00:00 2001 From: Darko Date: Tue, 28 Jul 2015 11:26:11 +0200 Subject: [PATCH] Fix wrong setting name for audio preview creation. Remove audio prune setting from admin. --- newznab/processing/post/ProcessAdditional.php | 2 +- www/templates_shared/views/admin/site-edit.tpl | 9 --------- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/newznab/processing/post/ProcessAdditional.php b/newznab/processing/post/ProcessAdditional.php index 4f2104762..1c70d3f24 100644 --- a/newznab/processing/post/ProcessAdditional.php +++ b/newznab/processing/post/ProcessAdditional.php @@ -368,7 +368,7 @@ class ProcessAdditional if (!$this->pdo->getSetting('ffmpegpath')) { $this->_processAudioSample = $this->_processThumbnails = $this->_processVideo = false; } else { - $this->_processAudioSample = ($this->pdo->getSetting('processaudiosample') == 0) ? false : true; + $this->_processAudioSample = ($this->pdo->getSetting('saveaudiopreview') == 0) ? false : true; $this->_processThumbnails = ($this->pdo->getSetting('processthumbnails') == 0 ? false : true); $this->_processVideo = ($this->pdo->getSetting('processvideos') == 0) ? false : true; } diff --git a/www/templates_shared/views/admin/site-edit.tpl b/www/templates_shared/views/admin/site-edit.tpl index 59028b0dc..dba3dcc55 100644 --- a/www/templates_shared/views/admin/site-edit.tpl +++ b/www/templates_shared/views/admin/site-edit.tpl @@ -771,15 +771,6 @@
Whether to save a preview of an audio release (requires deep rar inspection enabled).
It is advisable to specify a path to the lame binary to reduce the size of audio previews.
- - - : - - -
Delete any audio previews older than this number of days.
- - -