hieroglyph 5 Posted December 6, 2022 Posted December 6, 2022 I am trying to query for watched episodes and have the results returned based on series first, then season, followed by episode. Series 1, Season 1, Episode 1 Series 1, Season 1, Episode 2 Series 1, Season 1, Episode 3 Series 1, Season 2, Episode 1 Series 1, Season 2, Episode 2 Series 1, Season 2, Episode 3 Series 2, Season 1, Episode 1 Series 2, Season 1, Episode 2 Series 2, Season 1, Episode 3 Series 2, Season 2, Episode 1 Series 2, Season 2, Episode 2 Series 2, Season 2, Episode 3 etc... Are these all of the SortBy options for the Items Service? Or are the keys returned also valid SortBy options? &SortBy=SeriesName,ParentIndexNumber,IndexNumber,Name http://192.168.99.100:8096/emby/Users/6d9e789123db4e4aff4014abc85203a1/Items?ParentID=a82beae9c62c9b3bb012d5ff85e3cba4&IncludeItemTypes=Episode&StartIndex=0&Limit=100&IsPlayed=True&Recursive=True&SortBy=SeriesName,ParentIndexNumber,IndexNumber,Name&SortOrder=Ascending&EnableImages=False&EnableUserData=True&api_key=2a876b15231021aa2746109d05ff2931
Luke 38499 Posted December 13, 2022 Posted December 13, 2022 Hi, no you can't just use any field for sorting, it has to be one that is specifically supported as sortable. That list looks mostly complete, although I'm sure it's a little out of date. It might be missing one or two new ones like Filename. I'll have to compare it to the web app UI and get it updated.
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