This commit is contained in:
DariusIII
2017-04-11 09:54:17 +02:00
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -1042,6 +1042,8 @@ class Categorize extends Category
switch(true) {
case $this->checkPoster( '/oz@lot[.]com/i', $this->poster, Category::XXX_CLIPSD):
return true;
case $this->checkPoster( '/anon@y[.]com/i', $this->poster, Category::XXX_CLIPSD):
return true;
case stripos($this->releaseName, 'SDPORN') !== false:
$this->tmpCat = Category::XXX_CLIPSD;
return true;
+1 -1
View File
@@ -778,7 +778,7 @@ class NameFixer
$this->fixed++;
if(!empty($release['fromname']) && preg_match('/oz@lot[.]com/i', $release['fromname'])) {
if(!empty($release['fromname']) && (preg_match('/oz@lot[.]com/i', $release['fromname']) || preg_match('/anon@y[.]com/i', $release['fromname']))) {
$newName = preg_replace('/(KTR|GUSH|BIUK|WEIRD)$/', 'SDCLiP', $newName);
}
$newName = explode("\\", $newName);