Move UHD releases checks before HD ondes

This commit is contained in:
DariusIII
2016-07-19 22:59:38 +02:00
parent de82563e8a
commit cbba2fbffa
3 changed files with 8 additions and 7 deletions
+1
View File
@@ -1,4 +1,5 @@
2016-07-19 DariusIII
* Chg: Move UHD releases checks before HD ondes
* Chg: Add UHD subcategories to Movies, TV and XXX categories
* Chg: Add categorization by poster to Categorize.php (used in XXX SD clips for now)
* Fix: Add lithium libraries bootstrap for Admin pages
+1 -1
View File
@@ -2,7 +2,7 @@
<nntmux>
<versions>
<git>
<tag>v0.4.2</tag>
<tag>0.0.0</tag>
<!-- commit count removed -->
<hooks>
<precommit>9</precommit>
+6 -6
View File
@@ -160,9 +160,9 @@ class Categorize extends Category
break;
case $group === 'alt.binaries.british.drama':
switch (true) {
case $this->isUHDTV():
case $this->isHDTV():
case $this->isSDTV():
case $this->isUHDTV():
case $this->isPC():
break;
default:
@@ -183,9 +183,9 @@ class Categorize extends Category
break;
case $group === 'alt.binaries.b4e':
switch (true) {
case $this->isUHDTV():
case $this->isHDTV():
case $this->isSDTV():
case $this->isUHDTV():
case $this->isPC():
case $this->isMovie():
case $this->isXxx():
@@ -420,10 +420,10 @@ class Categorize extends Category
break;
case $this->isMovieSD(): // Need to check this BEFORE the HD check
break;
case $this->isMovieHD(): // Check the movie isn't an HD release before blindly assigning SD
break;
case $this->isMovieUHD(): // Check the movie isn't an UHD release before blindly assigning SD
break;
case $this->isMovieHD(): // Check the movie isn't an HD release before blindly assigning SD
break;
default:
$this->tmpCat = Category::MOVIE_SD;
break;
@@ -723,8 +723,8 @@ class Categorize extends Category
case $this->isMovieSD():
case $this->isMovie3D():
case $this->isMovieBluRay():
case $this->isMovieHD():
case $this->isMovieUHD():
case $this->isMovieHD():
case $this->isMovieOther():
return true;
default:
@@ -915,8 +915,8 @@ class Categorize extends Category
case $this->isXxxPack():
case $this->isXxxClipSD():
case $this->isXxxSD():
case $this->isXxxClipHD():
case $this->isXxxUHD():
case $this->isXxxClipHD():
case $this->catWebDL && $this->isXxxWEBDL():
case $this->isXxx264():
case $this->isXxxXvid():