@apocaliss92/scrypted-events-recorder 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md ADDED
@@ -0,0 +1,8 @@
1
+ # Scrypted events recorder
2
+
3
+ Allows recording of videoclips when detections happen.
4
+
5
+ Recording clips are not in a very good shape yet. The whole flow is fully functional though
6
+ - generates clips according to the user settings (pre-event + post-event time)
7
+ - stores and auto-remove oldest clips on memory allocated full
8
+ - retrieve clips on any scrypted interface
@@ -0,0 +1,22 @@
1
+ /*!
2
+ * mime-db
3
+ * Copyright(c) 2014 Jonathan Ong
4
+ * Copyright(c) 2015-2022 Douglas Christopher Wilson
5
+ * MIT Licensed
6
+ */
7
+
8
+ /*!
9
+ * mime-types
10
+ * Copyright(c) 2014 Jonathan Ong
11
+ * Copyright(c) 2015 Douglas Christopher Wilson
12
+ * MIT Licensed
13
+ */
14
+
15
+ /**
16
+ * @license
17
+ * Lodash <https://lodash.com/>
18
+ * Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
19
+ * Released under MIT license <https://lodash.com/license>
20
+ * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
21
+ * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
22
+ */
Binary file
package/package.json ADDED
@@ -0,0 +1,51 @@
1
+ {
2
+ "name": "@apocaliss92/scrypted-events-recorder",
3
+ "description": "Basic object detector plugin",
4
+ "repository": {
5
+ "type": "git",
6
+ "url": "https://github.com/apocaliss92/scrypted-events-recorder"
7
+ },
8
+ "version": "0.0.1",
9
+ "scripts": {
10
+ "scrypted-setup-project": "scrypted-setup-project",
11
+ "prescrypted-setup-project": "scrypted-package-json",
12
+ "build": "scrypted-webpack",
13
+ "prepublishOnly": "NODE_ENV=production scrypted-webpack",
14
+ "prescrypted-vscode-launch": "scrypted-webpack",
15
+ "scrypted-vscode-launch": "scrypted-deploy-debug",
16
+ "scrypted-deploy-debug": "scrypted-deploy-debug",
17
+ "scrypted-debug": "scrypted-debug",
18
+ "scrypted-deploy": "scrypted-deploy",
19
+ "scrypted-readme": "scrypted-readme",
20
+ "scrypted-package-json": "scrypted-package-json"
21
+ },
22
+ "keywords": [
23
+ "scrypted",
24
+ "plugin",
25
+ "object",
26
+ "detect",
27
+ "detection",
28
+ "recognition",
29
+ "people",
30
+ "person"
31
+ ],
32
+ "scrypted": {
33
+ "name": "Events recorder",
34
+ "type": "API",
35
+ "interfaces": [
36
+ "ScryptedSystemDevice",
37
+ "Settings",
38
+ "MixinProvider",
39
+ "HttpRequestHandler"
40
+ ]
41
+ },
42
+ "dependencies": {
43
+ "@scrypted/common": "file:../scrypted/common",
44
+ "@scrypted/sdk": "^0.3.106",
45
+ "@types/lodash": "^4.17.14",
46
+ "lodash": "^4.17.21"
47
+ },
48
+ "devDependencies": {
49
+ "@types/node": "^20.11.0"
50
+ }
51
+ }