From f8ea8f3cb97e61d3ef68e6e2b7304d43bec8bc35 Mon Sep 17 00:00:00 2001 From: DariusIII Date: Wed, 26 Dec 2018 14:43:09 +0100 Subject: [PATCH] Update NameFixer class --- Blacklight/NameFixer.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Blacklight/NameFixer.php b/Blacklight/NameFixer.php index fd1ad9f46..d959adbfc 100755 --- a/Blacklight/NameFixer.php +++ b/Blacklight/NameFixer.php @@ -2477,6 +2477,9 @@ class NameFixer if (preg_match('/\.hd$/i', $this->_fileName)) { $this->_fileName = preg_replace('/\.hd/i', '.720p', $this->_fileName); } + if (preg_match('/\.int$/i', $this->_fileName)) { + $this->_fileName = preg_replace('/\.int/i', '.INTERNAL', $this->_fileName); + } if (! empty($this->_fileName)) { foreach ($this->sphinx->searchIndexes($this->_fileName, ['filename', 'title'], 'predb_rt') as $match) {