CoolSh17 0 Posted June 7, 2015 Share Posted June 7, 2015 Am I missing this or is it not possible with the API? I have looked all over the place, is there a way to check if an item is flagged as played or not? I know I can filter on that but sames like a lot of overhead for how I am pulling the data. Thanks CoolSh17 Link to comment Share on other sites More sharing options...
Angelblue05 4130 Posted June 7, 2015 Share Posted June 7, 2015 Make sure you pull the item using Users/{UserId}/Items/{ItemId} Then it will tell you in the response if the item has been played or not, under Userdata. 1 Link to comment Share on other sites More sharing options...
ebr 14918 Posted June 7, 2015 Share Posted June 7, 2015 The key there being to make sure you are pulling in the context of a user as that is how play status is stored. Link to comment Share on other sites More sharing options...
CoolSh17 0 Posted June 7, 2015 Author Share Posted June 7, 2015 Awesome that worked for me! Thanks guys! Link to comment Share on other sites More sharing options...
b0dyr0ck2006 57 Posted April 17, 2016 Share Posted April 17, 2016 Can this be applied for all users and not each one individually? Link to comment Share on other sites More sharing options...
ebr 14918 Posted April 17, 2016 Share Posted April 17, 2016 No. Everything is based on users. Link to comment Share on other sites More sharing options...
b0dyr0ck2006 57 Posted April 17, 2016 Share Posted April 17, 2016 Not the answer I was hoping for. Haha. So what you are saying is I can't pull the watched status of all my media by all my users? Is there any possible way I can do this? Link to comment Share on other sites More sharing options...
ebr 14918 Posted April 17, 2016 Share Posted April 17, 2016 Yes you can. You just need to iterate through your users. Link to comment Share on other sites More sharing options...
b0dyr0ck2006 57 Posted April 17, 2016 Share Posted April 17, 2016 I have far too many files to work through, then collate the data and add it to a spreadsheet so that I can compare each status. Ultimately my goal is to be able to tell once all my users have watched file A, at which point I know I can remove that file to limit storage usage. I've almost filled 7TB and need to start clearing out 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