HawkXP71 99 Posted October 21, 2022 Share Posted October 21, 2022 Here is my call (scrubed a bit) http://XXXXX:8096/Items?api_key=YYYYY&IncludeItemTypes=Episodes&SortBy=Type,SortName&SortOrder=Ascending&Recursive=True&IsMissing=True&Fields=ProviderIds,ExternalUrls,Missing,SeriesName,SeasonName The end goal is to get a list of episodes that are missing (ie have been released, emby knows they exist, but they are not in the library yet) However, Im getting just about every item (non episodes even though I explicitly list only Episodes) and Im not getting SeriesName or SeasonName even though I explicitly list the fields I get the Provider IDs and External Urls but not the other requested fields. Any ideas? Link to comment Share on other sites More sharing options...
Luke 37254 Posted October 21, 2022 Share Posted October 21, 2022 Strange. There's no field you have to request. Maybe the data is just missing for those missing episodes for some reason. Link to comment Share on other sites More sharing options...
HawkXP71 99 Posted October 21, 2022 Author Share Posted October 21, 2022 9 minutes ago, Luke said: Strange. There's no field you have to request. Maybe the data is just missing for those missing episodes for some reason. How can I test this out further? Link to comment Share on other sites More sharing options...
Luke 37254 Posted October 21, 2022 Share Posted October 21, 2022 I don't think you need to. I'm pretty sure that is the reason. Missing episodes is the #1 feature I wish we had never added so I can't lie and say they don't occasionally get neglected. 1 Link to comment Share on other sites More sharing options...
HawkXP71 99 Posted October 21, 2022 Author Share Posted October 21, 2022 But every one of these is not missing. Thats part of the bug. They exist on the server. Link to comment Share on other sites More sharing options...
Luke 37254 Posted October 21, 2022 Share Posted October 21, 2022 Quote IncludeItemTypes=Episodes Maybe this is your issue. Should be Episode. Link to comment Share on other sites More sharing options...
Happy2Play 8356 Posted October 21, 2022 Share Posted October 21, 2022 Yep was just comparing to Reports plugin. http://localhost:8096/emby/Reports/Items?StartIndex=0&Limit=100&IncludeItemTypes=Episode&HasQueryLimit=true&GroupBy=None&ReportView=ReportData&DisplayType=Screen&UserId={userid}&SortOrder=Ascending&ReportColumns=Status|Name|EpisodeSeries|Season|EpisodeNumber|DateAdded|ReleaseDate|Year|Genres|ParentalRating|CommunityRating|Runtime|Video|Width|Height|Audio|Subtitles|Trailers|Specials|Path&IsMissing=true Link to comment Share on other sites More sharing options...
HawkXP71 99 Posted October 21, 2022 Author Share Posted October 21, 2022 That explains the "non episode" data, it was getting item recursively.... Not sure why I was getting episodes that existed without season/series information.. But that fixed the results Link to comment Share on other sites More sharing options...
HawkXP71 99 Posted October 21, 2022 Author Share Posted October 21, 2022 Ive hit typos like this before. IMO, when the request takes in a string like this, and the string is invalid, it shoudl return a request error with a proper message Link to comment Share on other sites More sharing options...
Happy2Play 8356 Posted October 21, 2022 Share Posted October 21, 2022 5 minutes ago, HawkXP71 said: Not sure why I was getting episodes that existed without season/series information. But that fixed the results Might need an example but sounds like unidentified media. Also may need to add max premiere date to leave out Unaired/Future episodes. Link to comment Share on other sites More sharing options...
HawkXP71 99 Posted October 21, 2022 Author Share Posted October 21, 2022 12 minutes ago, Happy2Play said: Might need an example but sounds like unidentified media. Also may need to add max premiere date to leave out Unaired/Future episodes. Thanks, basically Im looking for a way to get notified when a new episode comes out. So I dont really care about "older" or "unknown". The start date will be a user field. Its just strange that a identified (I can see it with all its meta info) episode shows up when I miss call the API Link to comment Share on other sites More sharing options...
softworkz 3349 Posted October 23, 2022 Share Posted October 23, 2022 On 10/22/2022 at 12:39 AM, HawkXP71 said: Ive hit typos like this before. IMO, when the request takes in a string like this, and the string is invalid, it shoudl return a request error with a proper message I agree, but unfortunately, Emby Server has a tendency to hide and swallow errors all over the places and will rather return something non-sensical than returning an error - in most cases. It is never safe to assume that a request is correct only because the server doesn't return an error. 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