BiTeTHeBiGG 13 Posted March 24 Share Posted March 24 (edited) Hi, when I try to curl this URL: $url = 'http://' . $host . '/emby/Users/' . $userId . '/Items?Limit=' . $limit . '&IsMissing=false&Recursive=true&Fields=ProviderIds&IncludeItemTypes=Movie,Episode&Filters=IsNotFolder&EnableImages=false&EnableUserData=true&api_key=' . $api_key; Then the fields IndexNumber & ParentIndexNumber are not in the response. When I add this parameter in the URL "IsPlayed=true" I get the fields, but in response are only watched items. What I'm trying to get is also the informiation for unwatched items. Am I doing something wrong or need to use another endpoint to get all the datas? Best regards Edited March 24 by BiTeTHeBiGG typos Link to comment Share on other sites More sharing options...
Solution BiTeTHeBiGG 13 Posted March 25 Author Solution Share Posted March 25 I noticed that the parameter "&Filters=IsNotFolder" is the culprit. When I omit this then it is working. When I'm not wrong then the attribute can be replaced with "&IsFolder=false". Link to comment Share on other sites More sharing options...
Luke 37066 Posted March 25 Share Posted March 25 HI, generally speaking, don't use filter params that you don't need. You're already filtering by type, so the IsFolder param is not necessary. Thanks. Link to comment Share on other sites More sharing options...
BiTeTHeBiGG 13 Posted March 26 Author Share Posted March 26 Hi Luke, Yes, I agree. You are toally right. Thank you 1 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