Tolriq 108 Posted June 3, 2017 Share 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 Link to comment Share on other sites More sharing options...
Luke 37046 Posted June 4, 2017 Share 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. Link to comment Share on other sites More sharing options...
Tolriq 108 Posted June 4, 2017 Author Share 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. Link to comment Share on other sites More sharing options...
ebr 14910 Posted June 4, 2017 Share Posted June 4, 2017 Requesting the field does not return anything else. You requested ItemCounts not ChildCount, right? Link to comment Share on other sites More sharing options...
Tolriq 108 Posted June 4, 2017 Author Share 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 Link to comment Share on other sites More sharing options...
Luke 37046 Posted June 4, 2017 Share Posted June 4, 2017 I'm sorry, my mistake. Request the field ChildCount. Link to comment Share on other sites More sharing options...
Tolriq 108 Posted June 4, 2017 Author Share 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. Link to comment Share on other sites More sharing options...
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