fixed Episode.ToString() bug

This commit is contained in:
kay.one 2011-04-22 13:59:43 -07:00
parent af1511e1f3
commit 680ea45839
3 changed files with 2 additions and 6 deletions

View File

@ -12,7 +12,7 @@ namespace NzbDrone.Core.Test
/*Fucked-up hall of shame,
* WWE.Wrestlemania.27.PPV.HDTV.XviD-KYR
* The.Kennedys.Part.2.DSR.XviD-SYS
*
* Unreported.World.Chinas.Lost.Sons.WS.PDTV.XviD-FTP
*/
[Test]

View File

@ -126,7 +126,7 @@ namespace NzbDrone.Core.Providers.Indexer
{
if (_historyProvider.Exists(episode.EpisodeId, parseResult.Quality, parseResult.Proper))
{
_logger.Debug("Episode in history: {0}", episode.ToString());
_logger.Debug("Episode in history: {0}", feedItem.Title.Text);
}
else
{

View File

@ -40,9 +40,5 @@ namespace NzbDrone.Core.Repository
[SubSonicToManyRelation]
public virtual List<History> Histories { get; protected set; }
public override string ToString()
{
return String.Format("[Episode: '{0} S{1:00}E{2:00}']", Series.Title, SeasonNumber, EpisodeNumber);
}
}
}