1
0
Fork 0
mirror of https://github.com/Sonarr/Sonarr synced 2024-12-26 01:37:07 +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); 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);
} }
} }

View file

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

View file

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