Jump to content

Recommended Posts

Tolriq
Posted

It seems 3.2.19 have an issue and no more return ChildCount for at least

 

/Users/XXXX/Items?Recursive=true&IncludeItemTypes=Series&ExcludeLocationTypes=Virtual&Fields=RecursiveItemCount,Genres,SortName,Path,Overview,RunTimeTicks,ParentId,People,ProviderIds,OriginalTitle,Studios,ProductionLocations,MediaSources,DateCreated,VoteCount,RemoteTrailers&CollapseBoxSetItems=false&limit=500

 

 

Posted

Request the ItemCounts field. Apologies if this seems like a breaking change. It was actually a defect that it was always being sent back. Thanks.

Tolriq
Posted

Thanks for answering but unfortunately this does not works.

 

Requesting the field does not return anything else.

 

On a side note RecursiveItemCount does still work and still returns the numbers of seasons + episodes, so requesting RecursiveItemCount should maybe always returns ChildCount to have the number of seasons and being able to actually make a use from RecursiveItemCount.

Posted

Requesting the field does not return anything else.

 

You requested ItemCounts not ChildCount, right?

Tolriq
Posted

Of course ;)

 

/Users/XXX/Items?Recursive=true&IncludeItemTypes=Series&ExcludeLocationTypes=Virtual&Fields=ItemCounts,RecursiveItemCount,Genres,SortName,Path,Overview,RunTimeTicks,ParentId,People,ProviderIds,OriginalTitle,Studios,ProductionLocations,MediaSources,DateCreated,VoteCount,RemoteTrailers&CollapseBoxSetItems=false&limit=10

Posted

I'm sorry, my mistake. Request the field ChildCount.

Tolriq
Posted

Works better thanks.

 

Still strange that RecursiveItemCount is linked with ChildCount for the returned value and not field but well it's only a matter of documentation.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...