Rename releases posted by ozelot from KTR to SDCLiP

This commit is contained in:
DariusIII
2016-08-19 11:04:18 +02:00
parent be0d4c5f78
commit d0a4eb2fff
2 changed files with 4 additions and 0 deletions
+1
View File
@@ -1,4 +1,5 @@
2016-08-19 DariusIII
* Chg: Rename releases posted by ozelot from KTR to SDCLiP
* Fix: Missing names of movies in upcoming movies pages.
2016-08-12 DariusIII
* Chg: Move movie and tv UHD category check above webdl one
+3
View File
@@ -644,6 +644,9 @@ class NameFixer
$this->fixed++;
if(preg_match('/oz@lot[.]com/i', $release['fromname'])) {
$newName = preg_replace('/KTR$/', 'SDCLiP', $newName);
}
$newName = explode("\\", $newName);
$newName = preg_replace(['/^[-=_\.:\s]+/', '/[-=_\.:\s]+$/'], '', $newName[0]);