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
-34
View File
@@ -6,7 +6,6 @@
{
"id": "dvr-1",
"url": "user=[USERNAME]&password=[PASSWORD]&channel=1&stream=0.sdp?",
"type": "VLC",
"protocol": "rtsp",
"port": 0,
"models": [
@@ -26,7 +25,6 @@
{
"id": "dvr-2",
"url": "img.jpg",
"type": "JPEG",
"protocol": "http",
"port": 0,
"models": [
@@ -37,7 +35,6 @@
{
"id": "dvr-3",
"url": "live/mpeg4",
"type": "VLC",
"protocol": "rtsp",
"port": 0,
"models": [
@@ -48,7 +45,6 @@
{
"id": "dvr-4",
"url": "cgi-bin/snapshot.cgi?chn=[CHANNEL]&u=[USERNAME]&p=[PASSWORD]",
"type": "JPEG",
"protocol": "http",
"port": 0,
"models": [
@@ -68,7 +64,6 @@
{
"id": "dvr-5",
"url": "/user=[USERNAME]&password=[PASSWORD]&channel=2&stream=0.sdp",
"type": "FFMPEG",
"protocol": "rtsp",
"port": 554,
"models": [
@@ -78,7 +73,6 @@
{
"id": "dvr-6",
"url": "/user=[USERNAME]&password=[PASSWORD]&channel=3&stream=0.sdp",
"type": "FFMPEG",
"protocol": "rtsp",
"port": 554,
"models": [
@@ -88,7 +82,6 @@
{
"id": "dvr-7",
"url": "/user=[USERNAME]&password=[PASSWORD]&channel=1&stream=0.sdp",
"type": "FFMPEG",
"protocol": "rtsp",
"port": 554,
"models": [
@@ -98,7 +91,6 @@
{
"id": "dvr-8",
"url": "cgi-bin/snapshot.cgi?loginuse=[USERNAME]&loginpas=[PASSWORD]",
"type": "JPEG",
"protocol": "http",
"port": 0,
"models": [
@@ -113,7 +105,6 @@
{
"id": "dvr-9",
"url": "/",
"type": "MJPEG",
"protocol": "http",
"port": 37777,
"models": [
@@ -123,7 +114,6 @@
{
"id": "dvr-10",
"url": "cam/realmonitor?channel=[CHANNEL]&subtype=00",
"type": "VLC",
"protocol": "rtsp",
"port": 0,
"models": [
@@ -137,7 +127,6 @@
{
"id": "dvr-11",
"url": "/11",
"type": "FFMPEG",
"protocol": "rtsp",
"port": 0,
"models": [
@@ -148,7 +137,6 @@
{
"id": "dvr-12",
"url": "cgi-bin/webra_fcgi.fcgi?api=get_jpeg_raw&chno=[CHANNEL]",
"type": "JPEG",
"protocol": "http",
"port": 0,
"models": [
@@ -160,7 +148,6 @@
{
"id": "dvr-13",
"url": "cgi-bin/guest/Video.cgi?media=JPEG",
"type": "JPEG",
"protocol": "http",
"port": 0,
"models": [
@@ -172,7 +159,6 @@
{
"id": "dvr-14",
"url": "cgi-bin/net_jpeg.cgi?ch=[CHANNEL]",
"type": "JPEG",
"protocol": "http",
"port": 0,
"models": [
@@ -184,7 +170,6 @@
{
"id": "dvr-15",
"url": "snapshot",
"type": "JPEG",
"protocol": "http",
"port": 0,
"models": [
@@ -199,7 +184,6 @@
{
"id": "dvr-16",
"url": "videostream.cgi?rate=0&user=[USERNAME]&pwd=[PASSWORD]",
"type": "MJPEG",
"protocol": "http",
"port": 0,
"models": [
@@ -209,7 +193,6 @@
{
"id": "dvr-17",
"url": "videostream.asf",
"type": "FFMPEG",
"protocol": "http",
"port": 0,
"models": [
@@ -219,7 +202,6 @@
{
"id": "dvr-18",
"url": "videostream.asf?user=[USERNAME]&pwd=[PASSWORD]&resolution=[WIDTH]x[HEIGHT]",
"type": "FFMPEG",
"protocol": "http",
"port": 0,
"models": [
@@ -229,7 +211,6 @@
{
"id": "dvr-19",
"url": "cgi-bin/view.cgi?chn=[CHANNEL]&u=[USERNAME]&p=[PASSWORD]",
"type": "VLC",
"protocol": "http",
"port": 0,
"models": [
@@ -247,7 +228,6 @@
{
"id": "dvr-20",
"url": "/user=[USERNAME]_password=[PASSWORD]_channel=1_stream=0.sdp",
"type": "FFMPEG",
"protocol": "rtsp",
"port": 0,
"models": [
@@ -261,7 +241,6 @@
{
"id": "dvr-21",
"url": "/videostream.cgi?rate=0&user=[USERNAME]&pwd=[PASSWORD]",
"type": "FFMPEG",
"protocol": "http",
"port": 80,
"models": [
@@ -271,7 +250,6 @@
{
"id": "dvr-22",
"url": "/cgi-bin/snapshot.cgi?chn=1&u=[USERNAME]&p=[PASSWORD]",
"type": "JPEG",
"protocol": "http",
"port": 80,
"models": [
@@ -281,7 +259,6 @@
{
"id": "dvr-23",
"url": "/cgi-bin/snapshot.cgi?loginuse=[USERNAME]&loginpas=",
"type": "JPEG",
"protocol": "http",
"port": 80,
"models": [
@@ -291,7 +268,6 @@
{
"id": "dvr-24",
"url": "cgi-bin/snapshot.cgi?1",
"type": "JPEG",
"protocol": "http",
"port": 0,
"models": [
@@ -302,7 +278,6 @@
{
"id": "dvr-25",
"url": "mjpeg?res=full&x0=0&y0=0&x1=100%&y1=100%&quality=12&doublescan=0",
"type": "MJPEG",
"protocol": "http",
"port": 0,
"models": [
@@ -312,7 +287,6 @@
{
"id": "dvr-26",
"url": "cam/realmonitor?channel=[CHANNEL]&subtype=1",
"type": "VLC",
"protocol": "rtsp",
"port": 0,
"models": [
@@ -324,7 +298,6 @@
{
"id": "dvr-27",
"url": "image/[CHANNEL].jpg",
"type": "JPEG",
"protocol": "http",
"port": 0,
"models": [
@@ -334,7 +307,6 @@
{
"id": "dvr-28",
"url": "ivop.get?action=live&THREAD_ID=",
"type": "JPEG",
"protocol": "http",
"port": 0,
"models": [
@@ -344,7 +316,6 @@
{
"id": "dvr-29",
"url": "cgi-bin/video[CHANNEL].jpg?size=2&quality=3",
"type": "JPEG",
"protocol": "http",
"port": 0,
"models": [
@@ -354,7 +325,6 @@
{
"id": "dvr-30",
"url": "/control/faststream.jpg?stream=MxPEG&needlength&fps=6",
"type": "VLC",
"protocol": "http",
"port": 0,
"models": [
@@ -364,7 +334,6 @@
{
"id": "dvr-31",
"url": "live.sdp",
"type": "VLC",
"protocol": "rtsp",
"port": 0,
"models": [
@@ -374,7 +343,6 @@
{
"id": "dvr-32",
"url": "mjpeg",
"type": "MJPEG",
"protocol": "http",
"port": 0,
"models": [
@@ -384,7 +352,6 @@
{
"id": "dvr-33",
"url": "cgi-bin/net_jpeg.cgi?ch=0",
"type": "MJPEG",
"protocol": "http",
"port": 0,
"models": [
@@ -394,7 +361,6 @@
{
"id": "dvr-34",
"url": "cgi-bin/net_video.cgi?channel=[CHANNEL]",
"type": "VLC",
"protocol": "http",
"port": 0,
"models": [