1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-10-05 15:47:20 +02:00

Improve sample detection logging (#9405)

Sonarr 6181
This commit is contained in:
bakerboy448 2023-11-15 11:38:58 -06:00 committed by GitHub
parent 7a394ff864
commit 524657ad78
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -71,7 +71,7 @@ public DetectSampleResult IsSample(MovieMetadata movie, string path)
return DetectSampleResult.Sample;
}
_logger.Debug("Runtime of {0} is more than {1} seconds, Not Sample", runTime.Value.TotalSeconds, minimumRuntime);
_logger.Debug("[{0}] does not appear to be a sample. Runtime {1} seconds is more than minimum of {2} seconds", path, runTime, minimumRuntime);
return DetectSampleResult.NotSample;
}