domru icon indicating copy to clipboard operation
domru copied to clipboard

docker: show only 1 cameras in web

Open twocolors opened this issue 2 years ago • 0 comments

if get localhost:18000/cameras, i see json in two cameras (everything is different except the name)

{
  "data": [
    {
      "ID": 123,
      "Name": "Ленина 21",
      "IsActive": 1,
      "IsSound": 1,
      "RecordType": 1,
      "Quota": 604800,
      "MaxBandwidth": null,
      "HomeMode": 0,
      "Devices": null,
      "ParentGroups": [
        {
          "ID": 1,
          "Name": "Ленина 21 #108215",
          "ParentID": null
        },
        {
          "ID": 2,
          "Name": "Ленина 21 #108215",
          "ParentID": 0
        }
      ],
      "State": 1,
      "TimeZone": 10800,
      "MotionDetectorMode": "UNKNOWN",
      "ParentID": "45"
    },
    {
      "ID": 321,
      "Name": "Ленина 21",
      "IsActive": 1,
      "IsSound": 0,
      "RecordType": 1,
      "Quota": 259200,
      "MaxBandwidth": null,
      "HomeMode": 0,
      "Devices": null,
      "ParentGroups": [
        {
          "ID": 3,
          "Name": "Ленина 21 #108237",
          "ParentID": null
        },
        {
          "ID": 4,
          "Name": "Ленина 21 #108237",
          "ParentID": 0
        }
      ],
      "State": 1,
      "TimeZone": 10800,
      "MotionDetectorMode": "UNKNOWN",
      "ParentID": "49"
    }
  ]
}

twocolors avatar Oct 19 '23 02:10 twocolors