mirror of
https://github.com/Radarr/Radarr.git
synced 2026-04-17 21:26:22 -04:00
Improve Parsing Logging
This commit is contained in:
@@ -45,13 +45,13 @@ namespace NzbDrone.Core.Parser
|
||||
|
||||
if (result == null)
|
||||
{
|
||||
_logger.Debug("Attempting to parse movie info using directory and file names. {0}", fileInfo.Directory.Name);
|
||||
_logger.Debug("Attempting to parse movie info using directory and file names. '{0}'", fileInfo.Directory.Name);
|
||||
result = Parser.ParseMovieTitle(fileInfo.Directory.Name + " " + fileInfo.Name);
|
||||
}
|
||||
|
||||
if (result == null)
|
||||
{
|
||||
_logger.Debug("Attempting to parse movie info using directory name. {0}", fileInfo.Directory.Name);
|
||||
_logger.Debug("Attempting to parse movie info using directory name. '{0}'", fileInfo.Directory.Name);
|
||||
result = Parser.ParseMovieTitle(fileInfo.Directory.Name + fileInfo.Extension);
|
||||
}
|
||||
|
||||
@@ -147,7 +147,7 @@ namespace NzbDrone.Core.Parser
|
||||
|
||||
if (result == null)
|
||||
{
|
||||
_logger.Debug($"No matching movie for titles {string.Join(", ", parsedMovieInfo.MovieTitles)} ({parsedMovieInfo.Year})");
|
||||
_logger.Debug($"No matching movie for titles '{string.Join(", ", parsedMovieInfo.MovieTitles)} ({parsedMovieInfo.Year})"');
|
||||
}
|
||||
|
||||
return result;
|
||||
|
||||
Reference in New Issue
Block a user