fixed Episode.ToString() bug

pull/6/head
kay.one 14 years ago
parent af1511e1f3
commit 680ea45839

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

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

@ -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);
}
}
}
Loading…
Cancel
Save