Plex API item played?

Hi, was trying to find out the best way to figure out if an item is played or not via the XML API from the section view eg: http://127.0.0.1:32400/library/sections/1/all

There is a viewcount segment but that could have a value even if the item is marked as not played in the client.



SO what is the best way to find out if an item is played?

Should I use playcount or duration or something else?



Any help is appreciated.

There is viewCount and viewOffset. If viewCount > 0, the item has been watched; however if viewCount > 1 and viewOffset > 0, it’s been watched, but is viewed as “in progress” again.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.