mirror of
https://github.com/jellyfin/TMDbLib.git
synced 2024-11-23 05:40:12 +00:00
Merge pull request #400 from angyanmark/features/tvshow-recommendations-similar-searchcontainer
TV show 'recommendations' and 'similar' as SearchContainer<SearchTv>
This commit is contained in:
commit
6a9c237126
@ -150,9 +150,6 @@ namespace TMDbLib.Client
|
||||
if (item.AccountStates != null)
|
||||
item.AccountStates.Id = id;
|
||||
|
||||
if (item.Recommendations != null)
|
||||
item.Recommendations.Id = id;
|
||||
|
||||
if (item.ExternalIds != null)
|
||||
item.ExternalIds.Id = id;
|
||||
|
||||
|
@ -127,7 +127,7 @@ namespace TMDbLib.Objects.TvShows
|
||||
public List<ProductionCountry> ProductionCountries { get; set; }
|
||||
|
||||
[JsonProperty("recommendations")]
|
||||
public ResultContainer<TvShow> Recommendations { get; set; }
|
||||
public SearchContainer<SearchTv> Recommendations { get; set; }
|
||||
|
||||
[JsonProperty("reviews")]
|
||||
public SearchContainer<ReviewBase> Reviews { get; set; }
|
||||
@ -136,7 +136,7 @@ namespace TMDbLib.Objects.TvShows
|
||||
public List<SearchTvSeason> Seasons { get; set; }
|
||||
|
||||
[JsonProperty("similar")]
|
||||
public ResultContainer<TvShow> Similar { get; set; }
|
||||
public SearchContainer<SearchTv> Similar { get; set; }
|
||||
|
||||
[JsonProperty("spoken_languages")]
|
||||
public List<SpokenLanguage> SpokenLanguages { get; set; }
|
||||
|
Loading…
Reference in New Issue
Block a user