Jump to content

Recommended Posts

CoolSh17
Posted

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

Angelblue05
Posted

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.

  • Like 1
Posted

The key there being to make sure you are pulling in the context of a user as that is how play status is stored.

CoolSh17
Posted

Awesome that worked for me! Thanks guys!

  • 10 months later...
b0dyr0ck2006
Posted

Can this be applied for all users and not each one individually?

Posted

No.  Everything is based on users.

b0dyr0ck2006
Posted

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?

Posted

Yes you can.  You just need to iterate through your users.

b0dyr0ck2006
Posted

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

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...