mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 01:08:56 +00:00
Update ReleaseRemover with new variant of codec poster release files.
(cherry picked from commit b41f228)
This commit is contained in:
@@ -944,6 +944,7 @@ class ReleaseRemover
|
||||
$regex = "rf.name REGEXP 'x264.*\.(wmv|avi)$'";
|
||||
$regex2 = "rf.name REGEXP '\\\\.*((DVDrip|BRRip)[. ].*[. ](R[56]|HQ)|720p[ .](DVDrip|HQ)|Webrip.*[. ](R[56]|Xvid|AC3|US)|720p.*[. ]WEB-DL[. ]Xvid[. ]AC3[. ]US|HDRip.*[. ]Xvid[. ]DD5).*[. ]avi$'";
|
||||
$codec = '%\\Codec%Setup.exe%';
|
||||
$codec2 ='%\\Codec%Installer.exe%';
|
||||
$iferror = '%If_you_get_error.txt%';
|
||||
$ifnotplaying = '%read me if the movie not playing.txt%';
|
||||
$frenchv = '%Lisez moi si le film ne demarre pas.txt%';
|
||||
@@ -964,7 +965,7 @@ class ReleaseRemover
|
||||
);
|
||||
$codeclike = sprintf("UNION SELECT r.guid, r.searchname, r.id FROM releases r
|
||||
LEFT JOIN releasefiles rf ON r.id = rf.releaseid
|
||||
WHERE %s rf.name LIKE '%s' OR rf.name LIKE '%s' OR rf.name LIKE '%s' OR rf.name LIKE '%s' OR rf.name LIKE '%s' OR rf.name LIKE '%s'", $categories, $codec, $iferror, $ifnotplaying, $frenchv, $nl, $german
|
||||
WHERE %s rf.name LIKE '%s' OR rf.name LIKE '%s' OR rf.name LIKE '%s' OR rf.name LIKE '%s' OR rf.name LIKE '%s' OR rf.name LIKE '%s' OR rf.name LIKE '%s'", $categories, $codec, $codec2, $iferror, $ifnotplaying, $frenchv, $nl, $german
|
||||
);
|
||||
$this->query = sprintf(
|
||||
"SELECT r.guid, r.searchname, r.id FROM releases
|
||||
|
||||
Reference in New Issue
Block a user