Removed all the html from the new TVMaze api (for overview).

Added tests to cover the html removal.
updated Readme to remove TheTVDB
This commit is contained in:
Jamie Rees 2016-03-18 21:36:21 +00:00
parent 87baf542c5
commit 87b497e48e
6 changed files with 102 additions and 3 deletions

View file

@ -128,7 +128,7 @@ namespace PlexRequests.UI.Modules
ImdbId = t.show.externals?.imdb,
Network = t.show.network?.name,
NetworkId = t.show.network?.id.ToString(),
Overview = t.show.summary,
Overview = t.show.summary.RemoveHtml(),
Rating = t.score.ToString(CultureInfo.CurrentUICulture),
Runtime = t.show.runtime.ToString(),
SeriesId = t.show.id,
@ -276,7 +276,7 @@ namespace PlexRequests.UI.Modules
{
ProviderId = showInfo.id,
Type = RequestType.TvShow,
Overview = showInfo.summary,
Overview = showInfo.summary.RemoveHtml(),
PosterPath = showInfo.image?.medium,
Title = showInfo.name,
ReleaseDate = firstAir,