mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 17:28:55 +00:00
Move UHD releases checks before HD ondes
This commit is contained in:
@@ -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
@@ -2,7 +2,7 @@
|
||||
<nntmux>
|
||||
<versions>
|
||||
<git>
|
||||
<tag>v0.4.2</tag>
|
||||
<tag>0.0.0</tag>
|
||||
<!-- commit count removed -->
|
||||
<hooks>
|
||||
<precommit>9</precommit>
|
||||
|
||||
@@ -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():
|
||||
|
||||
Reference in New Issue
Block a user