Better messages when searching for daily episodes

pull/2/head
Mark McDowall 12 years ago
parent e17ed8c0ad
commit 2d21ee67e1

@ -75,7 +75,7 @@ namespace NzbDrone.Core.Providers.Search
{ {
logger.Warn("Unable to find {0} in any of indexers.", options.Episode); logger.Warn("Unable to find {0} in any of indexers.", options.Episode);
notification.CurrentMessage = reportsFound ? String.Format("Sorry, couldn't find {0}, that matches your preferences.", options.Episode) notification.CurrentMessage = reportsFound ? String.Format("Sorry, couldn't find {0}, that matches your preferences.", options.Episode.AirDate)
: String.Format("Sorry, couldn't find {0} in any of indexers.", options.Episode); : String.Format("Sorry, couldn't find {0} in any of indexers.", options.Episode);
} }
} }

@ -77,8 +77,8 @@ namespace NzbDrone.Core.Repository
{ {
string seriesTitle = Series == null ? "[NULL]" : Series.Title; string seriesTitle = Series == null ? "[NULL]" : Series.Title;
//if (IsDailyEpisode) if (Series != null && Series.IsDaily && AirDate.HasValue)
// return string.Format("{0} - {1}", seriesTitle, AirDate.Date); return string.Format("{0} - {1:yyyy-MM-dd}", seriesTitle, AirDate.Value);
return string.Format("{0} - S{1:00}E{2:00}", seriesTitle, SeasonNumber, EpisodeNumber); return string.Format("{0} - S{1:00}E{2:00}", seriesTitle, SeasonNumber, EpisodeNumber);
} }

@ -366,7 +366,7 @@
<WebProjectProperties> <WebProjectProperties>
<UseIIS>False</UseIIS> <UseIIS>False</UseIIS>
<AutoAssignPort>True</AutoAssignPort> <AutoAssignPort>True</AutoAssignPort>
<DevelopmentServerPort>25289</DevelopmentServerPort> <DevelopmentServerPort>59157</DevelopmentServerPort>
<DevelopmentServerVPath>/</DevelopmentServerVPath> <DevelopmentServerVPath>/</DevelopmentServerVPath>
<IISUrl>http://localhost:62182/</IISUrl> <IISUrl>http://localhost:62182/</IISUrl>
<NTLMAuthentication>False</NTLMAuthentication> <NTLMAuthentication>False</NTLMAuthentication>

Loading…
Cancel
Save