From cc55af5dcbb2a7a7b9a4a87c9cd85e54734dd4bc Mon Sep 17 00:00:00 2001 From: DariusIII Date: Fri, 18 Apr 2014 00:15:57 +0200 Subject: [PATCH] changes --- lib/Pprocess.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/Pprocess.php b/lib/Pprocess.php index 2506205ba..fc90188b7 100644 --- a/lib/Pprocess.php +++ b/lib/Pprocess.php @@ -657,7 +657,7 @@ class PProcess $this->processSample = empty($this->site->ffmpegpath) ? false : true; $this->processVideo = ($this->tmux->processvideos === '0') ? false : true; $this->processMediaInfo = $this->processAudioInfo = empty($this->site->mediainfopath) ? false : true; - $this->processAudioSample = ($this->site->processaudiosample == '0') ? false : true; + $this->processAudioSample = ($this->site->saveaudiopreview == '0') ? false : true; $this->processJPGSample = ($this->tmux->processjpg === '0') ? false : true; $this->processPasswords = ((($this->site->checkpasswordedrar === '0') ? false : true) && (empty($this->site->unrarpath) ? false : true)); //\\ @@ -736,7 +736,8 @@ class PProcess r.nfostatus, r.completion, r.categoryID, r.searchname FROM releases r LEFT JOIN category c ON c.ID = r.categoryID - WHERE r.size < %d + WHERE nzbstatus = 1 + AND r.size < %d %s AND r.passwordstatus = %d AND (r.haspreview = -1 AND c.disablepreview = 0)