diff --git a/NzbDrone.Core/Model/EpisodeParseResult.cs b/NzbDrone.Core/Model/EpisodeParseResult.cs index 7ca68acfb..4273534dc 100644 --- a/NzbDrone.Core/Model/EpisodeParseResult.cs +++ b/NzbDrone.Core/Model/EpisodeParseResult.cs @@ -27,10 +27,10 @@ namespace NzbDrone.Core.Model public override string ToString() { if (Episodes == null) - return string.Format("Series:{0} Air Date:{1}", CleanTitle, AirDate.Date); + return string.Format("{0} - {1}", CleanTitle, AirDate.Date); - return string.Format("Series:{0} Season:{1} Episode:{2}", CleanTitle, SeasonNumber, - String.Join(",", Episodes)); + return string.Format("{0} - S{1:00}E{2}", CleanTitle, SeasonNumber, + String.Join("-", Episodes)); } } diff --git a/NzbDrone.Core/Providers/MediaFileProvider.cs b/NzbDrone.Core/Providers/MediaFileProvider.cs index 6f1046af2..29832ca21 100644 --- a/NzbDrone.Core/Providers/MediaFileProvider.cs +++ b/NzbDrone.Core/Providers/MediaFileProvider.cs @@ -72,6 +72,7 @@ namespace NzbDrone.Core.Providers if (!_repository.Exists(e => e.Path == Parser.NormalizePath(filePath))) { var parseResult = Parser.ParseEpisodeInfo(filePath); + parseResult.CleanTitle = series.Title;//replaces the nasty path as title to help with logging if (parseResult == null) return null; @@ -90,7 +91,7 @@ namespace NzbDrone.Core.Providers } else { - Logger.Warn("Unable to find '{0}' in the database. File:{1}", parseResult, filePath); + Logger.Warn("Unable to find [{0}] in the database.[{1}]", parseResult, filePath); } } else @@ -106,7 +107,7 @@ namespace NzbDrone.Core.Providers } else { - Logger.Warn("Unable to find '{0}' in the database. File:{1}", parseResult, filePath); + Logger.Warn("Unable to find [{0}] in the database.[{1}]", parseResult, filePath); } } }