mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-30 01:38:54 +00:00
Add sphinx filename search support.
This commit is contained in:
@@ -1079,6 +1079,9 @@ class ProcessAdditional
|
||||
|
||||
$this->_addFileInfo($file);
|
||||
}
|
||||
if ($this->_addedFileInfo > 0) {
|
||||
$this->sphinx->updateRelease($this->_release['id'], $this->pdo);
|
||||
}
|
||||
return ($this->_totalFileInfo > 0 ? true : false);
|
||||
}
|
||||
|
||||
@@ -1712,7 +1715,7 @@ class ProcessAdditional
|
||||
$this->_release['id']
|
||||
)
|
||||
);
|
||||
$this->sphinx->updateReleaseSearchName($this->_release['id'], $newTitle);
|
||||
$this->sphinx->updateRelease($this->_release['id'], $this->pdo);
|
||||
|
||||
// Echo the changed name.
|
||||
if ($this->_echoCLI) {
|
||||
@@ -2300,7 +2303,7 @@ class ProcessAdditional
|
||||
$this->_release['id']
|
||||
)
|
||||
);
|
||||
$this->sphinx->updateReleaseSearchName($this->_release['id'], $newTitle);
|
||||
$this->sphinx->updateRelease($this->_release['id'], $this->pdo);
|
||||
|
||||
// Echo the changed name to CLI.
|
||||
if ($this->_echoCLI) {
|
||||
|
||||
Reference in New Issue
Block a user