1
0
Fork 0
mirror of https://github.com/Sonarr/Sonarr synced 2024-12-25 01:06:30 +00:00

Better messages when searching for daily episodes

This commit is contained in:
Mark McDowall 2013-01-16 23:29:43 -08:00
parent e17ed8c0ad
commit 2d21ee67e1
3 changed files with 4 additions and 4 deletions

View file

@ -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);
}
}

View file

@ -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);
}

View file

@ -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>