New: Link to TheTvDb has been added to AddSeries series lookup fields.

This commit is contained in:
Mark McDowall 2012-03-02 20:21:50 -08:00
parent de1d095b8d
commit 1dcc323c48
4 changed files with 16 additions and 2 deletions

View file

@ -181,7 +181,8 @@ namespace NzbDrone.Web.Controllers
DisplayedTitle = r.FirstAired.Year > 1900 && !r.SeriesName.EndsWith("(" + r.FirstAired.Year + ")")
?string.Format("{0} ({1})", r.SeriesName, r.FirstAired.Year)
:r.SeriesName,
Banner = r.Banner.BannerPath
Banner = r.Banner.BannerPath,
Url = String.Format("http://www.thetvdb.com/?tab=series&id={0}", r.Id)
}).ToList();
return Json(tvDbResults, JsonRequestBehavior.AllowGet);