|
|
@ -45,13 +45,13 @@ namespace NzbDrone.Core.Parser
|
|
|
|
|
|
|
|
|
|
|
|
if (result == null)
|
|
|
|
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);
|
|
|
|
result = Parser.ParseMovieTitle(fileInfo.Directory.Name + " " + fileInfo.Name);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if (result == null)
|
|
|
|
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);
|
|
|
|
result = Parser.ParseMovieTitle(fileInfo.Directory.Name + fileInfo.Extension);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -147,7 +147,7 @@ namespace NzbDrone.Core.Parser
|
|
|
|
|
|
|
|
|
|
|
|
if (result == null)
|
|
|
|
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;
|
|
|
|
return result;
|
|
|
|