Jump to content

Getting to special episode info


Recommended Posts

ginjaninja
Posted

image.thumb.png.cf04345ad094246218f8e7a6a216b3e5.png

 

i am trying to determine the last episode in the formal episode order for a show..so think i need to evaluate specials...so think i am looking for access to the special episode info..in this accessible to the api? or is there a more elegant way to determine.

thanks

Posted

Hi, yes check out AirsBeforeEpisode and AirsBeforeSeason

ginjaninja
Posted (edited)
4 hours ago, Luke said:

Hi, yes check out AirsBeforeEpisode and AirsBeforeSeason

i dont see them in the swagger test..do i need to include additional fields on the items service to get them to show against episodes. is there a fields value which dumps all available info?

image.png.872b60b4ccaa7406e623acca9206302e.png

Edited by ginjaninja
Posted

Sorry I meant SortIndexNumber and SortParentIndexNumber

ginjaninja
Posted
2 hours ago, Luke said:

Sorry I meant SortIndexNumber and SortParentIndexNumber

i must be missing something

http://localhost:8096/emby/Items?Recursive=true&ParentId=349450&Fields=SortIndexNumber%2CSortParentIndexNumber%2CAirsBeforeEpisode%2CAirsBeforeSeason&IncludeItemTypes=episode&api_key=XXXXXXXXXXXXXXXXXX

gives me

 

image.png.700c00e8ceba0ebdb381db169cbee462.png

 

is there a way to dump all info emby has if i dont know the full supported  'field' list.

ginjaninja
Posted

the items service seems to sort the episodes in returned json against a show parentid in a proper play order by default, which is probably all i need.

{unindexed specials}, {structured episode play order respecting special episode info}

web client seems to use endpoint

http://localhost:8096/emby/Items/363079/MetadataEditor?

when returning the ui with populated specialepisodeinfo, but when i use that endpoint it just returns parentalratingsoptions

{"ParentalRatingOptions":[{"Name":"GB-U","Value":1},{"Name":"GB-PG","Value":5},{"Name":"GB-12","Value":6},{"Name":"GB-12A","Value":7},{"Name":"GB-15","Value":8},{"Name":"GB-18","Value":9},{"Name":"GB-R18","Value":15}],"Countries":[{"Name":"AD","DisplayName":"Andorra","EnglishName":"Andorra","TwoLetterISORegionName":"AD","ThreeLetterISORegionName":"AND"},{"Name":"AF","DisplayName":"Afghanistan","EnglishName":"Afghanistan","TwoLetterISORegionName":"AF","ThreeLetterISORegionName":"AFG"},{"Name":"AL","DisplayName":"Albania","EnglishName":"Albania","TwoLetterISORegionName":"AL","ThreeLetterISORegionName":"ALB"},{"Name":"DZ","DisplayName":"Algeria","EnglishName":"Algeria","TwoLetterISORegionName":"DZ","ThreeLetterISORegionName":"DZA"},{"Name":"AR","DisplayName":"Argentina","EnglishName":"Argentina","TwoLetterISORegionName":"AR","ThreeLetterISORegionName":"ARG"},{"Name":"AM","DisplayName":"Armenia","EnglishName":"Armenia","TwoLetterISORegionName":"AM","ThreeLetterISORegionName":"ARM"},{"Name":"AU","DisplayName":"Australia","EnglishName":"Australia","TwoLetterISORegionName":"AU","ThreeLetterISORegionName":"AUS"},{"Name":"AT","DisplayName":"Austria","EnglishName":"Austria","TwoLetterISORegionName":"AT","ThreeLetterISORegionName":"AUT"},{"Name":"AZ","DisplayName":"Azerbaijan","EnglishName":"Azerbaijan","TwoLetterISORegionName":"AZ","ThreeLetterISORegionName":"AZE"},{"Name":"BH","DisplayName":"Bahrain","EnglishName":"Bahrain","TwoLetterISORegionName":"BH","ThreeLetterISORegionName":"BHR"},{"Name":"BD","DisplayName":"Bangladesh","EnglishName":"Bangladesh","TwoLetterISORegionName":"BD","ThreeLetterISORegionName":"BGD"},{"Name":"BY","DisplayName":"Belarus","EnglishName":"Belarus","TwoLetterISORegionName":"BY","ThreeLetterISORegionName":"BLR"},{"Name":"BE","DisplayName":"Belgium","EnglishName":"Belgium","TwoLetterISORegionName":"BE","ThreeLetterISORegionName":"BEL"},{"Name":"BZ","DisplayName":"Belize","EnglishName":"Belize","TwoLetterISORegionName":"BZ","ThreeLetterISORegionName":"BLZ"},{"Name":"BT","DisplayName":"Bhutan","EnglishName":"Bhutan","TwoLetterISORegionName":"BT","ThreeLetterISORegionName":"BTN"},{"Name":"VE","DisplayName":"Venezuela","EnglishName":"Venezuela","TwoLetterISORegionName":"VE","ThreeLetterISORegionName":"VEN"},{"Name":"BO","DisplayName":"Bolivia","EnglishName":"Bolivia","TwoLetterISORegionName":"BO","ThreeLetterISORegionName":"BOL"},{"Name":"BA","DisplayName":"Bosnia and Herzegovina","EnglishName":"Bosnia and 

 

Posted

Try requesting the field SpecialEpisodeNumbers

  • Like 1
ginjaninja
Posted
1 hour ago, Luke said:

SpecialEpisodeNumbers

image.png.1db92e81a2333abf8d3007efef94f955.png

thank you

  • Thanks 1

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...