mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 01:08:56 +00:00
Change the default tmdbid value in getImdb script.
This commit is contained in:
@@ -9,7 +9,7 @@ $c = new ColorCLI();
|
||||
$movie = new Film(['Echo' => true, 'Settings' => $pdo]);
|
||||
|
||||
|
||||
$movies = $pdo->queryDirect("SELECT imdbid FROM movieinfo WHERE tmdbid IS NULL ORDER BY id ASC");
|
||||
$movies = $pdo->queryDirect("SELECT imdbid FROM movieinfo WHERE tmdbid = 0 ORDER BY id ASC");
|
||||
if ($movies instanceof \Traversable) {
|
||||
echo $pdo->log->header("Updating movie info for " . number_format($movies->rowCount()) . " movies.");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user