Update NameFixer class

This commit is contained in:
DariusIII
2018-12-26 14:43:09 +01:00
parent 80615d31c6
commit f8ea8f3cb9
+3
View File
@@ -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) {