From b25c16ab2f6d6e74b7c0ef93bb8a6858be7c0b84 Mon Sep 17 00:00:00 2001 From: Darko Date: Tue, 24 Feb 2015 15:03:14 +0100 Subject: [PATCH] Fix the regex for XXX HD Clips to catch MOV type of releases. --- lib/copy_this/www/lib/Categorize.php | 2 +- lib/copy_this/www/lib/TmuxOutput.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/copy_this/www/lib/Categorize.php b/lib/copy_this/www/lib/Categorize.php index bc3169b8b..a9814c8c3 100644 --- a/lib/copy_this/www/lib/Categorize.php +++ b/lib/copy_this/www/lib/Categorize.php @@ -831,7 +831,7 @@ class Categorize extends Category public function isXxxClipHD() { - if (preg_match('/^[\w.]+(\d{2}\.\d{2}\.\d{2})[\w.]+(MP4-(KTR|GUSH|FaiLED|SEXORS|hUSHhUSH))/i', $this->releaseName)) { + if (preg_match('/^[\w.]+(\d{2}\.\d{2}\.\d{2})[\w.]+(M[PO][V4]-(KTR|GUSH|FaiLED|SEXORS|hUSHhUSH))/i', $this->releaseName)) { $this->tmpCat = \Category::CAT_XXX_CLIPHD; return true; } diff --git a/lib/copy_this/www/lib/TmuxOutput.php b/lib/copy_this/www/lib/TmuxOutput.php index 4ef54bd76..f7934b5e0 100644 --- a/lib/copy_this/www/lib/TmuxOutput.php +++ b/lib/copy_this/www/lib/TmuxOutput.php @@ -117,7 +117,7 @@ class TmuxOutput extends Tmux $buffer = ''; $state = ($this->runVar['settings']['is_running'] == 1) ? 'Running' : 'Disabled'; //$version = $this->_tvers . 'r' . $this->_vers; - $tversion = '0.5r01128'; + $tversion = '0.5r01129'; $buffer .= sprintf($this->tmpMasks[2], "Monitor $state v$tversion @ $this->_tvers [" . $this->_vers ."]: ",