mirror of
https://github.com/Radarr/Radarr.git
synced 2024-08-16 23:39:44 +02:00
fixed Episode.ToString() bug
This commit is contained in:
parent
af1511e1f3
commit
680ea45839
@ -12,7 +12,7 @@ public class ParserTest
|
||||
/*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 @@ internal void ProcessItem(SyndicationItem feedItem)
|
||||
{
|
||||
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 @@ public class Episode
|
||||
[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…
Reference in New Issue
Block a user