mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 09:18:54 +00:00
Fix wrong setting name for audio preview creation. Remove audio prune setting from admin.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -771,15 +771,6 @@
|
||||
<div class="hint">Whether to save a preview of an audio release (requires deep rar inspection enabled).<br/>It is advisable to specify a path to the lame binary to reduce the size of audio previews.</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td style="width:130px;"><label for="audiopreviewprune">Prune Audio Preview</label>:</td>
|
||||
<td>
|
||||
<input id="audiopreviewprune" class="short" name="audiopreviewprune" type="text" value="{$site->audiopreviewprune}" />
|
||||
<div class="hint">Delete any audio previews older than this number of days.</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
</fieldset>
|
||||
<fieldset>
|
||||
|
||||
Reference in New Issue
Block a user