boutzo 0 Posted February 25, 2015 Share Posted February 25, 2015 I have been trying to do some item queries on some tv episodes to add to a playlist and I've run into 2 problem maybe someone can explain. Problem #1 The Start Index Number: I want to get results starting from index 13 on down but I have to set the start index number at 12 in order for number 13 to show up. Is this the way its suppose to work? Even though the indexing starts at 1 does it really start at index 0 ? Problem #2 When I do an item query on the latest season of a TV series I get episodes that I don't have or that haven't even aired yet. Where are these episodes coming from and why are they in my results ??? Does it actually query files on my hard drive or some outside database ? Any explanation is appreciated Edit: Episode query returns the right results and no unaired episodes. But problem 1 still remains. I'd still like an explanation. Or is it a bug? Thanks, Boutzo Link to comment Share on other sites More sharing options...
ebr 14960 Posted February 25, 2015 Share Posted February 25, 2015 Indexing in pretty much all computer implementations is zero-based. Link to comment Share on other sites More sharing options...
chef 3750 Posted February 25, 2015 Share Posted February 25, 2015 Link to comment Share on other sites More sharing options...
boutzo 0 Posted February 25, 2015 Author Share Posted February 25, 2015 (edited) Update: Got it working right episode query will index it right "without the index-1" swagger does not. Still would like an explanation on the unaired episodes though. "Just for my sanity." Edited February 25, 2015 by boutzo Link to comment Share on other sites More sharing options...
ebr 14960 Posted February 25, 2015 Share Posted February 25, 2015 Whether or not unaired and missing episodes are returned by the query is a user-specific setting (using web client prefs). However, if you have a good reason to, you can override this by specifying specific filters on your query. Link to comment Share on other sites More sharing options...
boutzo 0 Posted February 25, 2015 Author Share Posted February 25, 2015 Those setting are unchecked in the web client and still they show up in an items query not an episode query. Not a problem but I though you should know. Link to comment Share on other sites More sharing options...
ebr 14960 Posted February 25, 2015 Share Posted February 25, 2015 Did you provide a UserId on the Items query? 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