Is there a way to detect if TV is being watched?

Hi there,

I'd like to create script which auto shutdown the computer which hosts ChannelsDVR server.
So I'd like to know whether ChannelsDVR is used either for LiveTV or a watching a recording before launching the script.
Is there an API or a process I can monitor for that purpose?

Two things to check out

  1. There's an API to query clients:
    https://getchannels.com/api/
  2. GET /dvr
1 Like

Thank you. It's exactly what I was looking for.