Revert setting video id even if there is no episode

This commit is contained in:
DariusIII
2019-11-22 23:55:14 +01:00
parent 1a6558b358
commit 8d703f0857
4 changed files with 8 additions and 7 deletions
+2 -2
View File
@@ -198,9 +198,9 @@ class TMDB extends TV
$this->colorCli->primary('Found TMDB Match!', true);
}
continue;
} else {
$this->setVideoIdFound($videoId, $row['id'], 0);
}
//Processing failed, set the episode ID to the next processing group
$this->setVideoNotFound(parent::PROCESS_TRAKT, $row['id']);
} else {
//Processing failed, set the episode ID to the next processing group
$this->setVideoNotFound(parent::PROCESS_TRAKT, $row['id']);
+2 -1
View File
@@ -191,7 +191,8 @@ class TVDB extends TV
$this->colorCli->primary('Found TVDB Match!', true);
}
} else {
$this->setVideoIdFound($videoId, $row['id'], 0);
//Processing failed, set the episode ID to the next processing group
$this->setVideoNotFound(parent::PROCESS_TVMAZE, $row['id']);
}
} else {
//Processing failed, set the episode ID to the next processing group
+2 -2
View File
@@ -177,9 +177,9 @@ class TVMaze extends TV
$this->colorCli->primary('Found TVMaze Match!', true);
}
continue;
} else {
$this->setVideoIdFound($videoId, $row['id'], 0);
}
//Processing failed, set the episode ID to the next processing group
$this->setVideoNotFound(parent::PROCESS_TMDB, $row['id']);
} else {
//Processing failed, set the episode ID to the next processing group
$this->setVideoNotFound(parent::PROCESS_TMDB, $row['id']);
+2 -2
View File
@@ -174,9 +174,9 @@ class TraktTv extends TV
$this->colorCli->primary('Found TRAKT Match!', true);
}
continue;
} else {
$this->setVideoIdFound($videoId, $row['id'], 0);
}
//Processing failed, set the episode ID to the next processing group
$this->setVideoNotFound(parent::PROCESS_IMDB, $row['id']);
} else {
//Processing failed, set the episode ID to the next processing group
$this->setVideoNotFound(parent::PROCESS_IMDB, $row['id']);