BiTeTHeBiGG 13 Posted March 24, 2024 Posted March 24, 2024 (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, 2024 by BiTeTHeBiGG typos
Solution BiTeTHeBiGG 13 Posted March 25, 2024 Author Solution Posted March 25, 2024 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".
Luke 42077 Posted March 25, 2024 Posted March 25, 2024 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.
BiTeTHeBiGG 13 Posted March 26, 2024 Author Posted March 26, 2024 Hi Luke, Yes, I agree. You are toally right. Thank you 1
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