Dindai Hollow + : Critical Fixes

commit ba42ac2cd8
Author: Moe <github@m03.ca>
Date:   Tue Sep 5 11:00:47 2023 -0700

    update node.js installation method

commit 00a387a803
Author: Moe <github@m03.ca>
Date:   Sun Sep 3 16:44:24 2023 -0700

    fix segment faststart

commit c1cdbb011e
Author: Moe <github@m03.ca>
Date:   Mon Aug 28 12:27:36 2023 -0700

    fix doFatalErrorCatch in monitors/utils.js

commit 29dcec2810
Author: Moe <github@m03.ca>
Date:   Fri Aug 25 21:27:59 2023 -0700

    better notifications for telegram, matrix, and pushover

commit 54f51557e3
Author: Moe <github@m03.ca>
Date:   Fri Aug 25 06:45:36 2023 -0700

    discord notifications more verbose

commit 1684ebe8ea
Author: Moe Alam <github@m03.ca>
Date:   Sun Aug 20 09:53:20 2023 -0700

    typo fix

commit 60ec6c5f4d
Author: Moe Alam <github@m03.ca>
Date:   Sun Aug 20 09:46:51 2023 -0700

    update cuda installers for 10.0 and 10.2

commit b33d3c9843
Author: Moe Alam <github@m03.ca>
Date:   Sun Aug 20 09:46:23 2023 -0700

    fix child node s.camera execution

commit 7d04972596
Author: Moe <github@m03.ca>
Date:   Sun Aug 13 15:15:33 2023 -0700

    Show Detection on Timeline

    + add toggle to stop on most recent video end
    + default to hiding non-playing

commit ff8f2c7c83
Author: Moe <github@m03.ca>
Date:   Sun Aug 13 10:32:53 2023 -0700

    Update README.md

commit a9e8fe70d6
Author: Moe <github@m03.ca>
Date:   Sun Aug 13 10:32:48 2023 -0700

    Add Play Until End of Video Option

commit 602b9b1c4e
Author: Moe <github@m03.ca>
Date:   Fri Aug 11 14:24:02 2023 -0700

    update remote shell control and allow custom host/port

    These features are off by default and should only be enabled with the discretion of the server administrator.

commit cf2283c709
Merge: 8fff0722 e34c68fe
Author: Moe <github@m03.ca>
Date:   Wed Aug 9 08:18:29 2023 -0700

    Merge branch 'dev' of https://gitlab.com/Shinobi-Systems/Shinobi into dev

commit 8fff072270
Author: Moe <github@m03.ca>
Date:   Wed Aug 9 08:17:30 2023 -0700

    Add NVMPI to HW Accel Encoders

commit e34c68fe30
Merge: 743599bb 4b2fa2cd
Author: Shinobi Systems <moe@shinobi.systems>
Date:   Wed Aug 9 04:22:13 2023 +0000

    Merge branch 'mr_zh_language_20230808' into 'dev'

    ADD zh Language translate

    See merge request Shinobi-Systems/Shinobi!479

commit 4b2fa2cdb0
Author: qt10 <qt10@gdzhsng.com>
Date:   Tue Aug 8 10:45:02 2023 +0800

    add zh language

commit 743599bb50
Author: Moe <github@m03.ca>
Date:   Tue Aug 8 09:38:31 2023 -0700

    Auto Next Video on empty canvas, better auto scroll

commit 3f08165fb8
Author: Moe <github@m03.ca>
Date:   Mon Aug 7 17:02:25 2023 -0700

    Jump to Next/Previous Video for Timeline

commit c13215f05c
Merge: 4b8c06a7 7d585522
Author: Moe <github@m03.ca>
Date:   Sun Aug 6 12:58:57 2023 -0700

    Merge branch 'remove-powerVideo' into dev

commit 4b8c06a74e
Author: Moe <github@m03.ca>
Date:   Sun Aug 6 12:58:36 2023 -0700

    fix plugin "Enable" button after new download

commit 393db4c811
Author: Moe <github@m03.ca>
Date:   Sun Aug 6 12:58:08 2023 -0700

    lightly update Custom Auto Load tab in Superuser

commit 7d585522e0
Author: Moe <github@m03.ca>
Date:   Sun Aug 6 10:13:00 2023 -0700

    remove power viewer files

commit 4579a5ba18
Author: Moe <github@m03.ca>
Date:   Sun Aug 6 08:01:16 2023 -0700

    Revert "make Power Viewer optional by config parameter+"

    This reverts commit 2b8709756c.

commit 2b8709756c
Author: Moe <github@m03.ca>
Date:   Sun Aug 6 07:56:46 2023 -0700

    make Power Viewer optional by config parameter+

commit eac50a6bc0
Author: Moe <github@m03.ca>
Date:   Sun Aug 6 07:42:20 2023 -0700

    minor ui update to videoPlayer and videosTable

commit d21076f5b4
Author: Moe <github@m03.ca>
Date:   Sat Aug 5 20:15:47 2023 -0700

    dynamic tab links better appearance and position

commit 6ab2195581
Author: Moe <github@m03.ca>
Date:   Fri Aug 4 22:02:16 2023 -0700

    timeline colors more blue

commit f70d195ea2
Author: Moe <github@m03.ca>
Date:   Fri Aug 4 21:57:30 2023 -0700

    make Power Viewer optional by config parameter

commit bf277675f3
Author: Moe <github@m03.ca>
Date:   Fri Aug 4 21:51:10 2023 -0700

    timeline colors stand out more

commit 46b14dba11
Author: Moe <github@m03.ca>
Date:   Fri Aug 4 21:43:00 2023 -0700

    fix open-video class

commit 493ee9678f
Author: Moe <github@m03.ca>
Date:   Fri Aug 4 16:49:26 2023 -0700

    performance upgrade to timeline loader

    + make double click open the video in regular video player

commit 3981dd003c
Author: Moe <github@m03.ca>
Date:   Fri Aug 4 16:48:40 2023 -0700

    move monitor map up in side menu

commit df62adf09b
Author: Moe <github@m03.ca>
Date:   Fri Aug 4 15:07:53 2023 -0700

    fix Videos tab open from Monitors tab

commit 9466b540d3
Author: Moe <github@m03.ca>
Date:   Fri Aug 4 13:00:53 2023 -0700

    fix timeline color references

commit 49ed119244
Author: Moe <github@m03.ca>
Date:   Fri Aug 4 13:00:39 2023 -0700

    add Substream indicator in Live Grid

commit 441c3242f2
Merge: dea84ca4 02a7fec4
Author: Moe <github@m03.ca>
Date:   Fri Aug 4 10:12:50 2023 -0700

    Merge branch 'dev' of https://gitlab.com/Shinobi-Systems/Shinobi into dev

commit dea84ca4dc
Author: Moe <github@m03.ca>
Date:   Fri Aug 4 10:12:47 2023 -0700

    Fix #487

commit 02a7fec48f
Merge: 17f535b9 b4566ca8
Author: Moe <github@m03.ca>
Date:   Fri Aug 4 17:00:58 2023 +0000

    Merge branch 'super-timeline' into 'dev'

    (Super) Timeline, Power Viewer v10

    See merge request Shinobi-Systems/Shinobi!477

commit b4566ca886
Author: Moe <github@m03.ca>
Date:   Fri Aug 4 17:00:58 2023 +0000

    (Super) Timeline, Power Viewer v10

commit 17f535b9ec
Merge: d56b92ad 152ab4f0
Author: Moe <github@m03.ca>
Date:   Tue Aug 1 15:35:42 2023 +0000

    Merge branch 'telegram-fix' into 'dev'

    Fix telegram notifications

    See merge request Shinobi-Systems/Shinobi!475

commit 152ab4f0d6
Author: skvalex <skvalex@gmail.com>
Date:   Sun Jul 30 23:19:02 2023 +0700

    Support multiple chat ids

commit ea5f8ed0c8
Author: skvalex <skvalex@gmail.com>
Date:   Sun Jul 30 03:30:35 2023 +0700

    Fixed telegram videos that exceed 10 megabytes

commit d56b92ada7
Merge: d00fe997 4f5b8fd1
Author: Moe <github@m03.ca>
Date:   Sun Jul 30 17:53:03 2023 +0000

    Merge branch 'timezone-fix' into 'dev'

    Fix video browser time zone used by HA plugin

    See merge request Shinobi-Systems/Shinobi!476

commit 4f5b8fd117
Author: skvalex <skvalex@gmail.com>
Date:   Sun Jul 30 11:52:48 2023 +0700

    Fix video browser time zone used by HA plugin

commit 6dd3024693
Author: Moe <github@m03.ca>
Date:   Fri Jul 28 10:27:29 2023 -0700

    fix an on start error

commit de6bc75c69
Author: Moe <github@m03.ca>
Date:   Fri Jul 28 10:27:03 2023 -0700

    double check onvif device on ptz

commit 69957b832f
Author: Moe <github@m03.ca>
Date:   Tue Jul 25 15:54:19 2023 -0700

    Create onvifGetStreamUri.js

commit d00fe997cf
Author: Moe <github@m03.ca>
Date:   Sat Jul 22 12:14:35 2023 -0700

    Update utils.js

commit 21bb3e4f99
Author: Moe <github@m03.ca>
Date:   Sat Jul 22 12:14:07 2023 -0700

    fix log output for ptz and minor cleanup

commit d9d14065b5
Author: Moe <github@m03.ca>
Date:   Sat Jul 22 12:11:58 2023 -0700

    add catch for failed eventBasedRecording

commit 70b17a36f4
Merge: e2235d28 da83dfce
Author: Moe <github@m03.ca>
Date:   Mon Jul 17 15:50:08 2023 +0000

    Merge branch 'axis-lock' into 'dev'

    PTZ Control Adjustments

    See merge request Shinobi-Systems/Shinobi!474

commit da83dfce8e
Author: Moe <github@m03.ca>
Date:   Mon Jul 17 15:50:08 2023 +0000

    PTZ Control Adjustments

commit e2235d286a
Author: Moe <github@m03.ca>
Date:   Fri Jul 14 22:31:33 2023 -0700

    make plugins enabled by super start before monitors

commit 8e066ed016
Author: Moe <github@m03.ca>
Date:   Fri Jul 14 17:15:21 2023 -0700

    symlink mysql to mariadb

commit e1dd3e5be3
Author: Moe <github@m03.ca>
Date:   Fri Jul 14 17:14:26 2023 -0700

    symlink mysql to mariadb

commit 4a5478e016
Author: Moe <github@m03.ca>
Date:   Wed Jul 12 23:23:37 2023 -0700

    minor cleanup

commit 5f96223eef
Merge: fa8804a3 0abae0d9
Author: Moe <github@m03.ca>
Date:   Mon Jul 10 05:08:39 2023 +0000

    Merge branch 'camera-map' into 'dev'

    Monitor Map (Camera Map)

    See merge request Shinobi-Systems/Shinobi!473

commit 0abae0d95b
Author: Moe <github@m03.ca>
Date:   Mon Jul 10 05:08:39 2023 +0000

    Monitor Map (Camera Map)

commit fa8804a30d
Author: Moe <github@m03.ca>
Date:   Fri Jun 30 10:49:11 2023 -0700

    fix monitor state loading into UI for edit

commit 5d50f0d407
Author: Moe <github@m03.ca>
Date:   Sun Jun 25 23:24:12 2023 -0700

    fix error on missing frameBuffer when saving snap

commit 86af8676d3
Author: Moe <github@m03.ca>
Date:   Sat Jun 24 22:56:40 2023 -0700

    fix Idle mode status display

commit 5eded56a6f
Author: Moe <github@m03.ca>
Date:   Sat Jun 24 18:48:09 2023 -0700

    fix accuracy mode draw if Tile Size empty

commit a850133477
Author: Moe <github@m03.ca>
Date:   Sat Jun 24 18:45:56 2023 -0700

    clean up region editor status indicator

commit 99cfb0dc61
Author: Moe <github@m03.ca>
Date:   Tue Jun 20 11:06:58 2023 -0700

    alter live stream on mobile launch (web)

commit 8cc4210207
Author: Moe <github@m03.ca>
Date:   Tue Jun 20 11:06:35 2023 -0700

    fix Recent Videos seek when no frames present

commit 913d8e15a7
Author: Moe <github@m03.ca>
Date:   Thu Jun 8 10:54:40 2023 -0700

    Make Alert and Pop on Event into localStorage options

commit df907208e7
Author: Moe <github@m03.ca>
Date:   Tue Jun 6 23:09:01 2023 -0700

    Add "Mark" button to quickly label a video

    Add button and Keyboard command in LiveGrid. Press "Enter" in liveGrid to trigger all monitors that are in view.

commit e4b3c3d7c6
Author: Moe <github@m03.ca>
Date:   Sat May 20 18:29:33 2023 -0700

    update mp4frag to fix Poseidon over HTTP

commit ffb511bd15
Author: Moe <github@m03.ca>
Date:   Sat May 20 18:25:28 2023 -0700

    Manually merge !465 with some changes
node-20
Moe 2023-09-05 11:01:22 -07:00
parent a9653d6517
commit cb6be8eb7f
10 changed files with 19 additions and 28 deletions

View File

@ -85,8 +85,7 @@ echo "========================================================="
#Check if Node.js is installed
if ! [ -x "$(command -v node)" ]; then
echo "Node.js not found, installing..."
sudo curl --silent --location https://rpm.nodesource.com/setup_16.x | sudo bash -
sudo "$pkgmgr" install nodejs -y -q -e 0
sh nodejs-redhat.sh
else
echo "Node.js is already installed..."
echo "Version: $(node -v)"

2
INSTALL/nodejs-redhat.sh Normal file
View File

@ -0,0 +1,2 @@
sudo yum install --nogpgcheck https://rpm.nodesource.com/pub_16.x/nodistro/repo/nodesource-release-nodistro-1.noarch.rpm -y
sudo yum install --nogpgcheck nodejs -y

8
INSTALL/nodejs-ubuntu.sh Normal file
View File

@ -0,0 +1,8 @@
sudo apt-get update
sudo apt-get install -y ca-certificates curl gnupg
sudo mkdir -p /etc/apt/keyrings
curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | sudo gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg
NODE_MAJOR=16
echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_$NODE_MAJOR.x nodistro main" | sudo tee /etc/apt/sources.list.d/nodesource.list
sudo apt-get update
sudo apt-get install nodejs -y

View File

@ -6,7 +6,7 @@ echo "If your OS is not on the list please refer to the docs."
echo "========"
echo "1. Ubuntu - Fast and Touchless"
echo "2. Ubuntu - Advanced"
echo "3. Rocky 9 / CentOS 8 - Fast and Touchless"
echo "3. Alma Linux 9.2 / Rocky 9 / CentOS 8 - Fast and Touchless (Red Hat)"
echo "4. CentOS"
echo "5. MacOS"
echo "6. FreeBSD"

View File

@ -44,8 +44,7 @@ echo "========================================================="
#Check if Node.js is installed
if ! [ -x "$(command -v node)" ]; then
echo "Node.js not found, installing..."
sudo curl --silent --location https://rpm.nodesource.com/setup_16.x | sudo bash -
sudo yum install nodejs -y -q -e 0
sh nodejs-redhat.sh
else
echo "Node.js is already installed..."
echo "Version: $(node -v)"
@ -93,6 +92,7 @@ sudo npm install pm2@latest -g
sudo chmod -R 755 .
touch INSTALL/installed.txt
dos2unix INSTALL/shinobi
chmod +x INSTALL/shinobi
ln -s INSTALL/shinobi /usr/bin/shinobi
echo "========================================================="

View File

@ -3,11 +3,7 @@ echo "Shinobi - Do you want to Install Node.js?"
echo "(y)es or (N)o"
read -r nodejsinstall
if [ "$nodejsinstall" = "y" ]; then
wget https://deb.nodesource.com/setup_12.x
chmod +x setup_12.x
./setup_12.x
sudo apt install nodejs -y
rm setup_12.x
sh nodejs-ubuntu.sh
fi
#Detect Ubuntu Version

View File

@ -51,12 +51,7 @@ fi
if ! [ -x "$(command -v node)" ]; then
echo "============="
echo "Shinobi - Installing Node.js"
wget https://deb.nodesource.com/setup_12.x
chmod +x setup_12.x
./setup_12.x
sudo apt install nodejs -y
sudo apt install node-pre-gyp -y
rm setup_12.x
sh nodejs-ubuntu.sh
else
echo "Node.js Found..."
echo "Version : $(node -v)"

View File

@ -55,12 +55,7 @@ if ! [ -x "$(command -v ifconfig)" ]; then
fi
echo "============="
echo "Shinobi - Installing Node.js"
wget https://deb.nodesource.com/setup_16.x
chmod +x setup_16.x
./setup_16.x
sudo apt install nodejs -y
sudo apt install node-pre-gyp -y
rm setup_16.x
sh nodejs-ubuntu.sh
if ! [ -x "$(command -v npm)" ]; then
sudo apt install npm -y
fi

View File

@ -47,11 +47,7 @@ fi
if ! [ -x "$(command -v node)" ]; then
echo "============="
echo "Shinobi - Installing Node.js"
wget https://deb.nodesource.com/setup_16.x
chmod +x setup_16.x
./setup_16.x
sudo apt install nodejs -y
rm setup_16.x
sh nodejs-ubuntu.sh
else
echo "Node.js Found..."
echo "Version : $(node -v)"

View File

@ -549,7 +549,7 @@ module.exports = (s,config,lang) => {
}
}
if(videoExtIsMp4){
customRecordingFlags.push(`-segment_format_options movflags=faststart+frag_keyframe+empty_moov`)
customRecordingFlags.push(`-segment_format_options movflags=faststart`)
}
if(videoCodec === 'h264_vaapi'){
recordingFilters.push('format=nv12,hwupload')