mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-23 06:45:19 -07:00
Fix download rejections being ignored.
This commit is contained in:
parent
0506cc4185
commit
e7fa4cba19
2 changed files with 8 additions and 2 deletions
|
@ -83,7 +83,7 @@ namespace NzbDrone.Core.DecisionEngine
|
||||||
{
|
{
|
||||||
if (parsedEpisodeInfo.Quality.HardcodedSubs.IsNotNullOrWhiteSpace())
|
if (parsedEpisodeInfo.Quality.HardcodedSubs.IsNotNullOrWhiteSpace())
|
||||||
{
|
{
|
||||||
remoteEpisode.DownloadAllowed = true;
|
remoteEpisode.DownloadAllowed = false;
|
||||||
decision = new DownloadDecision(remoteEpisode, new Rejection("Hardcoded subs found: " + parsedEpisodeInfo.Quality.HardcodedSubs));
|
decision = new DownloadDecision(remoteEpisode, new Rejection("Hardcoded subs found: " + parsedEpisodeInfo.Quality.HardcodedSubs));
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
@ -257,7 +257,7 @@ namespace NzbDrone.Core.DecisionEngine
|
||||||
}
|
}
|
||||||
catch (NotImplementedException e)
|
catch (NotImplementedException e)
|
||||||
{
|
{
|
||||||
_logger.Info("Spec " + spec.GetType().Name + " does not care about movies.");
|
_logger.Trace("Spec " + spec.GetType().Name + " does not care about movies.");
|
||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
|
|
|
@ -51,6 +51,12 @@ namespace NzbDrone.Core.Download
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (report.Rejections.Any())
|
||||||
|
{
|
||||||
|
_logger.Debug("Rejecting release {0} because {1}", report.ToString(), report.Rejections.First().Reason);
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
if (remoteMovie == null || remoteMovie.Movie == null)
|
if (remoteMovie == null || remoteMovie.Movie == null)
|
||||||
{
|
{
|
||||||
continue;
|
continue;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue