Is there a way to see whether or not an episode was marked watched

Started watching Survivor 50. I know Channels is smart enough to not re-record watched episodes, so I'm thinking there has to be a history somewhere. I can't remember which season previously I stopped watching, somewhere around 42 or 43. I had recorded a bunch of episodes, but then deleted them so I can't just look at the unwatched episodes. Is there a curl command that would give me the last watched episode, prior to S50E1 that I'm watching now, or a way to get a list of Watched episodes for a particular (or all) shows? I searched the API help, but can't find what I need.

The API can give you the watched status of episodes or TV shows:

That is only pulling episodes that I have files for, it doesn't give historical data.

Ah, sorry. I didn't know that.

Hopefully one of the developers will chime in and give an answer.

That type of metadata is kept at the show episode level in the library files json for each episode.
Once you delete an episode, it's gone because that library file json entry is deleted.
It's not kept at the show (group) level.

I guess that makes sense, but somehow Channels knows an episode has been watched even though it’s been deleted, right? Or does it just assume anything older than the last watched episode is also watched?

it remembers what it has recorded, but the watched state is in the json.

I wonder how streamlinks keeps track of watched episodes. I don't use it, but assume it's got it's own json?

That's kept in a different place, /dvr/programs and just contains the program id

Everything in the library is in /dvr/files. Until it's deleted.

1 Like

what is this? where can I find it?

Published API in DVR web UI at Support > API & Feeds > All Recordings
Unpublished API /dvr/files?all=true also shows Trashed files