update people fetching
This commit is contained in:
parent
44687c2373
commit
88bb75bec4
|
@ -271,7 +271,12 @@ namespace MediaBrowser.Providers.Movies
|
||||||
//and the rest from crew
|
//and the rest from crew
|
||||||
if (movieData.casts != null && movieData.casts.crew != null)
|
if (movieData.casts != null && movieData.casts.crew != null)
|
||||||
{
|
{
|
||||||
var keepTypes = new[] { PersonType.Director, PersonType.Writer, PersonType.Producer };
|
var keepTypes = new[]
|
||||||
|
{
|
||||||
|
PersonType.Director,
|
||||||
|
PersonType.Writer,
|
||||||
|
//PersonType.Producer
|
||||||
|
};
|
||||||
|
|
||||||
foreach (var person in movieData.casts.crew)
|
foreach (var person in movieData.casts.crew)
|
||||||
{
|
{
|
||||||
|
|
|
@ -167,7 +167,12 @@ namespace MediaBrowser.Providers.TV
|
||||||
//and the rest from crew
|
//and the rest from crew
|
||||||
if (credits.crew != null)
|
if (credits.crew != null)
|
||||||
{
|
{
|
||||||
var keepTypes = new[] { PersonType.Director, PersonType.Writer, PersonType.Producer };
|
var keepTypes = new[]
|
||||||
|
{
|
||||||
|
PersonType.Director,
|
||||||
|
//PersonType.Writer,
|
||||||
|
//PersonType.Producer
|
||||||
|
};
|
||||||
|
|
||||||
foreach (var person in credits.crew)
|
foreach (var person in credits.crew)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue
Block a user