mirror of https://github.com/Sonarr/Sonarr
fixed Episode.ToString() bug
This commit is contained in:
parent
af1511e1f3
commit
680ea45839
|
@ -12,7 +12,7 @@ namespace NzbDrone.Core.Test
|
||||||
/*Fucked-up hall of shame,
|
/*Fucked-up hall of shame,
|
||||||
* WWE.Wrestlemania.27.PPV.HDTV.XviD-KYR
|
* WWE.Wrestlemania.27.PPV.HDTV.XviD-KYR
|
||||||
* The.Kennedys.Part.2.DSR.XviD-SYS
|
* The.Kennedys.Part.2.DSR.XviD-SYS
|
||||||
*
|
* Unreported.World.Chinas.Lost.Sons.WS.PDTV.XviD-FTP
|
||||||
*/
|
*/
|
||||||
|
|
||||||
[Test]
|
[Test]
|
||||||
|
|
|
@ -126,7 +126,7 @@ namespace NzbDrone.Core.Providers.Indexer
|
||||||
{
|
{
|
||||||
if (_historyProvider.Exists(episode.EpisodeId, parseResult.Quality, parseResult.Proper))
|
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
|
else
|
||||||
{
|
{
|
||||||
|
|
|
@ -40,9 +40,5 @@ namespace NzbDrone.Core.Repository
|
||||||
[SubSonicToManyRelation]
|
[SubSonicToManyRelation]
|
||||||
public virtual List<History> Histories { get; protected set; }
|
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…
Reference in New Issue