HawkXP71 107 Posted February 14, 2023 Posted February 14, 2023 In trying to clean up my library, where episodes that are missing TVDBid causes missing episodes to not appear, I wrote a a simple app to get every episode that is missing the TVDBid. Using the Query HastTVdbId=False works great. But it also features and specials. IncludeItemTypes=Episode is set. Is there anyway to tell if the returned media item is an actual Episode? Is a known "season 0" special, or in the "Featurettes" or any of the other known subdirectories in a seasons directory?
seanbuff 1146 Posted February 14, 2023 Posted February 14, 2023 Curious, how does it compare when you just filter on the Episodes tab for Missing TVDB id? Same results?
HawkXP71 107 Posted February 14, 2023 Author Posted February 14, 2023 5 minutes ago, seanbuff said: Curious, how does it compare when you just filter on the Episodes tab for Missing TVDB id? Same results? Didn't even know that was possible, but it shows quite a bit less using the filter method.
HawkXP71 107 Posted February 16, 2023 Author Posted February 16, 2023 1 hour ago, Luke said: Example? the request is http://mediabox:8096/Users/XXXX/Items?IncludeItemTypes=Episode&SortBy=Type,ProductionYear,PremiereDate,SortName&SortOrder=Ascending&Recursive=True&HasTvdbId=False&Fields=ProviderIds,ExternalUrls,Missing,ProductionYear,PremiereDate,DateCreated,EndDate,StartDate&api_key=YYYYY It returns tons of media items that are in TV Show/Season XXX/Extras
Luke 40079 Posted February 16, 2023 Posted February 16, 2023 Well you're using the generic /items endpoint. There is a /seasons and /episodes endpoint you can use instead if you prefer that.
HawkXP71 107 Posted February 17, 2023 Author Posted February 17, 2023 1 hour ago, Luke said: Well you're using the generic /items endpoint. There is a /seasons and /episodes endpoint you can use instead if you prefer that. I would like it to only return Episodes, which is what I asked for in the query. Why do featurettes/extras get returned? Note season 0 specials do not get returned.
Happy2Play 9441 Posted February 17, 2023 Posted February 17, 2023 And if you set "HasSpecialFeature" to false? http://homeserver:8096/emby/Items?HasSpecialFeature=false&HasTvdbId=false&Recursive=true&SortOrder=Ascending&IncludeItemTypes=Episode&SortBy=Type%2CProductionYear%2CPremiereDate%2CSortName&api_key=APIKEY
HawkXP71 107 Posted February 18, 2023 Author Posted February 18, 2023 On 2/16/2023 at 6:11 PM, Happy2Play said: And if you set "HasSpecialFeature" to false? http://homeserver:8096/emby/Items?HasSpecialFeature=false&HasTvdbId=false&Recursive=true&SortOrder=Ascending&IncludeItemTypes=Episode&SortBy=Type%2CProductionYear%2CPremiereDate%2CSortName&api_key=APIKEY I didnt, but tried it, and it made no difference
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