mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-30 17:58:59 +00:00
Update NameFixer class
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user