Getting Devices in use?

Is there a way to get which devices are in use in ChannelsDVR including M3U devices ?

Since I am using ADBTuner it requires Internet ... I Check for Internet access all the time ... So if the Internet goes Down I would like to stop recordings using the ADBTuner .

This only gives me what is recording not from what devices it is recording ...
192.168.50.66:8089/dvr

{
    "activity": {
        "0-job-1691165640-36": "Recording ch876 for Indiana Jones and the Raiders of the Lost Ark (1981) until 11:16AM: buf=0% drop=0%",
        "0-job-1691165940-36": "Recording ch851 for Body of Lies (2008) until 11:31AM: buf=0% drop=0%",
        "0-job-1691166240-36": "Recording ch853 for The Second Best Exotic Marigold Hotel (2015) until 11:31AM: buf=0% drop=0%"
    },
    "busy": true,
1 Like

On ADB Tuner, you must enter
http://ipofhost:5592
The system will display what is in use as you use it.
Channels simply sees everything as one signal.
When I tune into services with Channels, I can see exactly what client is in use.

Yes I know that but I want to automate a process that will kill the recording when there is no internet ... I have found that If for some reason the internet goes down and you have back-to-back recordings on the same ADBTuner it will continue to capture nothing even if the Internet comes back up.

I want to Query Channels DVR what device it is recording on. then I can do a http://192.168.50.66:5592/admin/tuner/force-unlock/3

I think I figured something out If Internet is down I will just do the force-unlock.

I think you can look at /dvr/jobs output to find running (FileID set) and check DeviceID