Tolriq 141 Posted June 3, 2017 Posted June 3, 2017 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
Luke 42077 Posted June 4, 2017 Posted June 4, 2017 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 141 Posted June 4, 2017 Author Posted June 4, 2017 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.
ebr 16169 Posted June 4, 2017 Posted June 4, 2017 Requesting the field does not return anything else. You requested ItemCounts not ChildCount, right?
Tolriq 141 Posted June 4, 2017 Author Posted June 4, 2017 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
Luke 42077 Posted June 4, 2017 Posted June 4, 2017 I'm sorry, my mistake. Request the field ChildCount.
Tolriq 141 Posted June 4, 2017 Author Posted June 4, 2017 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.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now