VernoxVernax 4 Posted October 3, 2022 Share Posted October 3, 2022 When I request: /Users/[Id}/Items/Latest?IncludeItemTypes=Episode,Movie I only get the latest movies from the library but not any episodes. When I remove "Movie", the whole thing takes a turn and I only get "Series" objects. (I don't mind that it's not actually episodes). Is this a bug, or am I once again misunderstanding the api documentation, which btw disappeared from my emby dashboard footer. Link to comment Share on other sites More sharing options...
Cheesegeezer 3089 Posted October 3, 2022 Share Posted October 3, 2022 1 hour ago, VernoxVernax said: When I request: /Users/[Id}/Items/Latest?IncludeItemTypes=Episode,Movie I only get the latest movies from the library but not any episodes. When I remove "Movie", the whole thing takes a turn and I only get "Series" objects. (I don't mind that it's not actually episodes). Is this a bug, or am I once again misunderstanding the api documentation, which btw disappeared from my emby dashboard are you running this on the web? Or a script? if on web, check your console and see if any errors occur. also i think you need to set recursive to yes in your api call Link to comment Share on other sites More sharing options...
VernoxVernax 4 Posted October 3, 2022 Author Share Posted October 3, 2022 2 minutes ago, Cheesegeezer said: are you running this on the web? Or a script? if on web, check your console and see if any errors occur. also i think you need to set recursive to yes in your api call Thank you for the reply. Debug Server: http/1.1 Response 200 to host11. Time: 45ms. http://emby_remote_ip/emby/Users/b1384883b5904d67817a93c3b8804615/Items/Latest?IncludeItemTypes=Episode,Movie The recursive options doesn't change anything as well. Note that "IncludeItemTypes=Series" returns "[]". Link to comment Share on other sites More sharing options...
Cheesegeezer 3089 Posted October 3, 2022 Share Posted October 3, 2022 5 minutes ago, VernoxVernax said: Thank you for the reply. Debug Server: http/1.1 Response 200 to host11. Time: 45ms. http://emby_remote_ip/emby/Users/b1384883b5904d67817a93c3b8804615/Items/Latest?IncludeItemTypes=Episode,Movie The recursive options doesn't change anything as well. Note that "IncludeItemTypes=Series" returns "[]". Yeah I just been having a play. And agree, it's not returning Episodes at all I can get series, let me check Iridium code for getting the latest Episodes on that 2 secs Link to comment Share on other sites More sharing options...
Cheesegeezer 3089 Posted October 3, 2022 Share Posted October 3, 2022 7 minutes ago, VernoxVernax said: Thank you for the reply. Debug Server: http/1.1 Response 200 to host11. Time: 45ms. http://emby_remote_ip/emby/Users/b1384883b5904d67817a93c3b8804615/Items/Latest?IncludeItemTypes=Episode,Movie The recursive options doesn't change anything as well. Note that "IncludeItemTypes=Series" returns "[]". So i'm actually using this as the request in Iridium to get the latest items, this is specific to a root Library. Base Url const url = `${serverAddress}/emby/Users/${userId}/${request}&api_key=${authToken}`; Request const recentItemsRequest = `Items/Latest?Limit=20&ParentId=${folderId}&Fields=Taglines%2CCommunityRating%2COverview%2CMediaStreams`; Â Link to comment Share on other sites More sharing options...
Cheesegeezer 3089 Posted October 3, 2022 Share Posted October 3, 2022 Link to comment Share on other sites More sharing options...
VernoxVernax 4 Posted October 3, 2022 Author Share Posted October 3, 2022 10 minutes ago, Cheesegeezer said: I've just noticed that I can see any latest episodes on web as well. Anyways, so you're telling me "Latest" did at one point in time include episodes as well, or are you sending multiple request for both movie and series? Link to comment Share on other sites More sharing options...
Cheesegeezer 3089 Posted October 3, 2022 Share Posted October 3, 2022 1 minute ago, VernoxVernax said: I've just noticed that I can see any latest episodes on web as well. I just checked that also and got the same results. Yes used to have episodes at one point 1 minute ago, VernoxVernax said: Anyways, so you're telling me "Latest" did at one point in time include episodes as well, or are you sending multiple request for both movie and series? Actually I stand corrected, it only shows the series, i checked back at some old images and even back then i only got the Series. But yeah you should just retrieve the latest for each Library, and then you could add them together after that, that API looks like it only returns the first ItemType. This was from a post back on the June, 26. so looks like it's always been that way 1 Link to comment Share on other sites More sharing options...
VernoxVernax 4 Posted October 3, 2022 Author Share Posted October 3, 2022 Just now, Cheesegeezer said: I just checked that also and got the same results. Yes used to have episodes at one point Actually I stand corrected, it only shows the series, i checked back at some old images and even back then i only got the Series. But yeah you should just retrieve the latest for each Library, and then you could add them together after that, that API looks like it only returns the first ItemType. This was from a post back on the June, 26. so looks like it's always been that way Ok, thank you for debugging!! 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