Check if $release['cleanname'] is set

This commit is contained in:
DariusIII
2019-12-18 09:49:24 +01:00
parent de88e940af
commit 4c6c0c2421
6 changed files with 11 additions and 9 deletions
+2 -2
View File
@@ -205,12 +205,12 @@ class TMDB extends TV
} else {
//Processing failed, set the episode ID to the next processing group
$this->setVideoNotFound(parent::PROCESS_TRAKT, $row['id']);
$this->titleCache[] = $release['cleanname'];
$this->titleCache[] = $release['cleanname'] ?? null;
}
} else {
//Processing failed, set the episode ID to the next processing group
$this->setVideoNotFound(parent::PROCESS_TRAKT, $row['id']);
$this->titleCache[] = $release['cleanname'];
$this->titleCache[] = $release['cleanname'] ?? null;
}
}
}
+2 -2
View File
@@ -198,12 +198,12 @@ class TVDB extends TV
} else {
//Processing failed, set the episode ID to the next processing group
$this->setVideoNotFound(parent::PROCESS_TVMAZE, $row['id']);
$this->titleCache[] = $release['cleanname'];
$this->titleCache[] = $release['cleanname'] ?? null;
}
} else {
//Parsing failed, take it out of the queue for examination
$this->setVideoNotFound(parent::FAILED_PARSE, $row['id']);
$this->titleCache[] = $release['cleanname'];
$this->titleCache[] = $release['cleanname'] ?? null;
}
}
}
+2 -2
View File
@@ -184,12 +184,12 @@ class TVMaze extends TV
} else {
//Processing failed, set the episode ID to the next processing group
$this->setVideoNotFound(parent::PROCESS_TMDB, $row['id']);
$this->titleCache[] = $release['cleanname'];
$this->titleCache[] = $release['cleanname'] ?? null;
}
} else {
//Processing failed, set the episode ID to the next processing group
$this->setVideoNotFound(parent::PROCESS_TMDB, $row['id']);
$this->titleCache[] = $release['cleanname'];
$this->titleCache[] = $release['cleanname'] ?? null;
}
}
}
+2 -2
View File
@@ -181,12 +181,12 @@ class TraktTv extends TV
} else {
//Processing failed, set the episode ID to the next processing group
$this->setVideoNotFound(parent::PROCESS_IMDB, $row['id']);
$this->titleCache[] = $release['cleanname'];
$this->titleCache[] = $release['cleanname'] ?? null;
}
} else {
//Processing failed, set the episode ID to the next processing group
$this->setVideoNotFound(parent::PROCESS_IMDB, $row['id']);
$this->titleCache[] = $release['cleanname'];
$this->titleCache[] = $release['cleanname'] ?? null;
}
}
}
+2
View File
@@ -1,3 +1,5 @@
2019-12-18 DariusIII
* Chg: Check if $release['cleanname'] is set
2019-12-15 DariusIII
* Chg: Update install_tmux.sh to install tmux 3.0a
2019-12-11 DariusIII
+1 -1
View File
@@ -14,7 +14,7 @@
"axios": "^0.19",
"cross-env": "^6.0.3",
"jquery": "^3.4.1",
"laravel-mix": "^5.0.0",
"laravel-mix": "^5.0.1",
"lodash": "^4.17.15",
"popper.js": "^1.16.0",
"prettier": "^1.19.1",