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
-17
View File
@@ -6,7 +6,6 @@
{
"id": "active-1",
"url": "/streaming/video0",
"type": "FFMPEG",
"protocol": "rtsp",
"port": 0,
"models": [
@@ -16,7 +15,6 @@
{
"id": "active-2",
"url": "mpeg4/media.amp?resolution=640x480",
"type": "FFMPEG",
"protocol": "rtsp",
"port": 0,
"models": [
@@ -26,7 +24,6 @@
{
"id": "active-3",
"url": "snapshot.cgi?usr=[USERNAME]&pwd=[PASSWORD]",
"type": "JPEG",
"protocol": "http",
"port": 0,
"models": [
@@ -36,7 +33,6 @@
{
"id": "active-4",
"url": "cgi-bin/guest/Video.cgi?media=JPEG&channel=[CHANNEL]",
"type": "JPEG",
"protocol": "http",
"port": 0,
"models": [
@@ -46,7 +42,6 @@
{
"id": "active-5",
"url": "cgi-bin/guest/Video.cgi?media=JPEG",
"type": "JPEG",
"protocol": "http",
"port": 0,
"models": [
@@ -56,7 +51,6 @@
{
"id": "active-6",
"url": "axis-cgi/mjpg/video.cgi",
"type": "MJPEG",
"protocol": "http",
"port": 0,
"models": [
@@ -66,7 +60,6 @@
{
"id": "active-7",
"url": "axis-cgi/mjpg/video.cgi?date=1&clock=1&camera=[CHANNEL]&resolution=[WIDTH]x[HEIGHT]",
"type": "MJPEG",
"protocol": "http",
"port": 0,
"models": [
@@ -76,7 +69,6 @@
{
"id": "active-8",
"url": "axis-cgi/mjpg/video.cgi?camera=[CHANNEL]",
"type": "MJPEG",
"protocol": "http",
"port": 0,
"models": [
@@ -86,7 +78,6 @@
{
"id": "active-9",
"url": "axis-cgi/mjpg/video.cgi?date=1&clock=1&resolution=[WIDTH]x[HEIGHT]",
"type": "MJPEG",
"protocol": "http",
"port": 0,
"models": [
@@ -96,7 +87,6 @@
{
"id": "active-10",
"url": "axis-cgi/mjpg/video.cgi?camera=1&resolution=[WIDTH]x[HEIGHT]",
"type": "MJPEG",
"protocol": "http",
"port": 0,
"models": [
@@ -106,7 +96,6 @@
{
"id": "active-11",
"url": "ch0_0.h264",
"type": "VLC",
"protocol": "rtsp",
"port": 0,
"models": [
@@ -116,7 +105,6 @@
{
"id": "active-12",
"url": "live",
"type": "VLC",
"protocol": "rtsp",
"port": 0,
"models": [
@@ -126,7 +114,6 @@
{
"id": "active-13",
"url": "capture[CHANNEL].jpg",
"type": "JPEG",
"protocol": "http",
"port": 0,
"models": [
@@ -136,7 +123,6 @@
{
"id": "active-14",
"url": "snapshot.jpg?user=[USERNAME]&pwd=[PASSWORD]&strm=[CHANNEL]",
"type": "JPEG",
"protocol": "http",
"port": 0,
"models": [
@@ -146,7 +132,6 @@
{
"id": "active-15",
"url": "mjpeg",
"type": "MJPEG",
"protocol": "http",
"port": 0,
"models": [
@@ -156,7 +141,6 @@
{
"id": "active-16",
"url": "GetData.cgi?CH=[CHANNEL]&Codec=jpeg&Size=[WIDTH]x[HEIGHT]",
"type": "MJPEG",
"protocol": "http",
"port": 0,
"models": [
@@ -166,7 +150,6 @@
{
"id": "active-17",
"url": "[USERNAME]/cam[CHANNEL].jpg",
"type": "JPEG",
"protocol": "http",
"port": 0,
"models": [