mirror of
https://github.com/Radarr/Radarr
synced 2025-02-23 14:51:17 +00:00
Improve Parsing Logging
This commit is contained in:
parent
2f4da90d8a
commit
64125a31b6
1 changed files with 3 additions and 3 deletions
|
@ -45,13 +45,13 @@ public ParsedMovieInfo ParseMinimalPathMovieInfo(string path)
|
|||
|
||||
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 @@ private FindMovieResult FindMovie(ParsedMovieInfo parsedMovieInfo, string imdbId
|
|||
|
||||
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;
|
||||
|
|
Loading…
Reference in a new issue