Remove type field from database format, update schemas and scripts

This commit is contained in:
eduard256
2026-03-23 16:08:56 +00:00
parent efc10f8b24
commit 0b9be5b711
3635 changed files with 2127 additions and 25113 deletions
-10
View File
@@ -6,7 +6,6 @@
{
"id": "nvr-1",
"url": "snapshot.jpg?user=[USERNAME]&pwd=[PASSWORD]&strm=[CHANNEL]",
"type": "JPEG",
"protocol": "http",
"port": 0,
"models": [
@@ -23,7 +22,6 @@
{
"id": "nvr-2",
"url": "/ch01.264",
"type": "FFMPEG",
"protocol": "rtsp",
"port": 0,
"models": [
@@ -39,7 +37,6 @@
{
"id": "nvr-3",
"url": "cgi-bin/snapshot.cgi?chn=[CHANNEL]&u=[USERNAME]&p=[PASSWORD]",
"type": "JPEG",
"protocol": "http",
"port": 0,
"models": [
@@ -64,7 +61,6 @@
{
"id": "nvr-4",
"url": "cgi-bin/webra_fcgi.fcgi?api=get_jpeg_raw&chno=[CHANNEL]",
"type": "JPEG",
"protocol": "http",
"port": 0,
"models": [
@@ -75,7 +71,6 @@
{
"id": "nvr-5",
"url": "snapshot.jpg?user=[USERNAME]&pwd=[PASSWORD]",
"type": "JPEG",
"protocol": "http",
"port": 0,
"models": [
@@ -90,7 +85,6 @@
{
"id": "nvr-6",
"url": "/cgi-bin/snapshot.cgi?chn=1&u=[USERNAME]&p=[PASSWORD]",
"type": "JPEG",
"protocol": "http",
"port": 80,
"models": [
@@ -101,7 +95,6 @@
{
"id": "nvr-7",
"url": "tmpfs/auto.jpg",
"type": "JPEG",
"protocol": "http",
"port": 0,
"models": [
@@ -111,7 +104,6 @@
{
"id": "nvr-8",
"url": "/user=[USERNAME]_password=[PASSWORD]_channel=1_stream=1.sdp",
"type": "FFMPEG",
"protocol": "rtsp",
"port": 554,
"models": [
@@ -121,7 +113,6 @@
{
"id": "nvr-9",
"url": "/user=[USERNAME]_password=[PASSWORD]_channel=1_stream=0.sdp",
"type": "FFMPEG",
"protocol": "rtsp",
"port": 554,
"models": [
@@ -132,7 +123,6 @@
{
"id": "nvr-10",
"url": "snapshot.cgi?camera=[CHANNEL]",
"type": "JPEG",
"protocol": "http",
"port": 0,
"models": [