TeamB 2353 Posted April 12, 2020 Share Posted April 12, 2020 When I am using: InternalItemsQuery query = new InternalItemsQuery(); query.ParentIds = new long[] { long_id }; var results = _lm.GetItemList(query); How do I get seasons and episodes of merged TV Shows. Link to comment Share on other sites More sharing options...
Luke 37099 Posted April 13, 2020 Share Posted April 13, 2020 So that will be a straight folder query. If you have one of the series objects you could use series.getitems, that is probably the best way. Link to comment Share on other sites More sharing options...
TeamB 2353 Posted April 13, 2020 Author Share Posted April 13, 2020 Ok cool, using the getitems on a series look like it should work. I also found these: query.GroupByPresentationUniqueKey = false; query.GroupBySeriesPresentationUniqueKey = false; query.GroupItemsIntoCollections = false; Which list all movies and TV Shows that have been grouped up as separate items. This may better suit my needs. Link to comment Share on other sites More sharing options...
Luke 37099 Posted April 13, 2020 Share Posted April 13, 2020 For the first two the series getitems method will set those internally. 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