better Series.ToString()

This commit is contained in:
kay.one 2013-07-04 22:17:25 -07:00
commit a216e37d6a
12 changed files with 35 additions and 30 deletions

View file

@ -3,6 +3,7 @@ using System.Collections.Generic;
using Marr.Data;
using NzbDrone.Core.Datastore;
using NzbDrone.Core.Qualities;
using NzbDrone.Common;
namespace NzbDrone.Core.Tv
@ -39,5 +40,10 @@ namespace NzbDrone.Core.Tv
public DateTime? FirstAired { get; set; }
public LazyLoaded<QualityProfile> QualityProfile { get; set; }
public override string ToString()
{
return string.Format("[{0}][{1}]", Id, Title.NullSafe());
}
}
}