dvr163's People
dvr163's Issues
Automatically populate channel names
Do not use the .env file for channel names, pull them from the NVR. Need to find the endpoint, if anywhere it is probably a gw command.
Add "Alerts" tab to support displaying emailed alerts
Will require standing up an SMTP server and configuring the NVR to send email alerts to it. It will save the images from the email to disk and display them. There will also be a link to download the relevant video from the "Recorded" tab (#1)
Add "Recorded" tab to support video playback
Add quick-pick dropdown
List all channels in a dropdown at the top. Selecting a channel will "click it" and scroll to it. Also add "mute all" and "pause all" buttons.
Add option for "light" theme
Add a button at the top and save the preference in a cookie.
Can't start the service
Hello,
Thanks for your project.
I can't start the service, from docker inside the scripts:
/usr/src/app/dist/config.js:17
throw Error(error);
^
Error: Missing required environment variable: NVR_HOST
at required.forEach (/usr/src/app/dist/config.js:17:15)
at Array.forEach ()
at Object. (/usr/src/app/dist/config.js:14:10)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
at Module.require (internal/modules/cjs/loader.js:692:17)
at require (internal/modules/cjs/helpers.js:25:18)
Where i need to write the variable?
from npm:
0 info it worked if it ends with ok
1 verbose cli [ '/usr/bin/node', '/usr/local/bin/npm', 'start' ]
2 info using [email protected]
3 info using [email protected]
4 verbose run-script [ 'prestart', 'start', 'poststart' ]
5 info lifecycle [email protected]prestart: [email protected]prestart: unsafe-perm in lifecycle true
6 verbose lifecycle [email protected]
7 verbose lifecycle [email protected]prestart: PATH: /usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/home/dvr163/dvr163/node_modules/.bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sprestart: CWD: /home/dvr163/dvr163
bin:/bin:/usr/games:/usr/local/games:/usr/local/cuda-9.1/bin:/opt/ffmpeg/bin:/snap/bin
8 verbose lifecycle [email protected]
9 silly lifecycle [email protected]prestart: Args: [ '-c', 'npm run build' ]prestart: Returned: code: 1 signal: null
10 silly lifecycle [email protected]
11 info lifecycle [email protected]~prestart: Failed to exec prestart script
12 verbose stack Error: [email protected] prestart: npm run build
12 verbose stack Exit status 1
12 verbose stack at EventEmitter. (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:332:16)
12 verbose stack at EventEmitter.emit (events.js:315:20)
12 verbose stack at ChildProcess. (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
12 verbose stack at ChildProcess.emit (events.js:315:20)
12 verbose stack at maybeClose (internal/child_process.js:1021:16)
12 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:286:5)
13 verbose pkgid [email protected]
14 verbose cwd /home/dvr163/dvr163
15 verbose Linux 4.15.0-117-generic
16 verbose argv "/usr/bin/node" "/usr/local/bin/npm" "start"
17 verbose node v12.18.4
18 verbose npm v6.14.8
19 error code ELIFECYCLE
20 error errno 1
21 error [email protected] prestart: npm run build
21 error Exit status 1
22 error Failed at the [email protected] prestart script.
22 error This is probably not a problem with npm. There is likely additional logging output above.
23 verbose exit [ 1, true ]
Thnanks a lot for your help
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.