Better messages when searching for daily episodes

pull/4/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);
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);
}
}

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

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

Loading…
Cancel
Save