From fd5eea90e4ab8d45167ba788d458aba3029dbb0e Mon Sep 17 00:00:00 2001 From: acknologia <64101826+acknologia@users.noreply.github.com> Date: Tue, 31 Mar 2026 10:03:03 -0400 Subject: [PATCH] scrypted install script question verbiage needs work. server folder needs passthrough or posix --- .../apps/install-scripts/curated/index.md | 1 + docs/public/install-scripts/scrypted.json | 75 +++++++++++++++++++ 2 files changed, 76 insertions(+) create mode 100644 docs/public/install-scripts/scrypted.json diff --git a/docs/features/apps/install-scripts/curated/index.md b/docs/features/apps/install-scripts/curated/index.md index 66a848c..7e97dc9 100644 --- a/docs/features/apps/install-scripts/curated/index.md +++ b/docs/features/apps/install-scripts/curated/index.md @@ -18,6 +18,7 @@ | `qbittorrent` | [qbittorrent.json](/install-scripts/qbittorrent.json) | 1.0 KB | 2025-12-04 | | `radarr` | [radarr.json](/install-scripts/radarr.json) | 1.2 KB | 2025-12-04 | | `scrutiny` | [scrutiny.json](/install-scripts/scrutiny.json) | 1.3 KB | 2026-03-15 | +| `scrypted` | [scrypted.json](/install-scripts/scrypted.json) | 1.8 KB | 2026-03-31 | | `sonarr` | [sonarr.json](/install-scripts/sonarr.json) | 1.2 KB | 2025-12-04 | | `syncthing` | [syncthing.json](/install-scripts/syncthing.json) | 2.1 KB | 2026-03-15 | diff --git a/docs/public/install-scripts/scrypted.json b/docs/public/install-scripts/scrypted.json new file mode 100644 index 0000000..ce22a3f --- /dev/null +++ b/docs/public/install-scripts/scrypted.json @@ -0,0 +1,75 @@ +{ + "version": 3, + "script": { + "version": "1.0.0", + "changeLog": "Initial Script" + }, + "installation_questions": [ + { + "question": "What kind of installation would you like?", + "description": "Select the nvidia optimized image if you have an nvidia GPU installed.", + "type": "select", + "key": "image_selector", + "required": true, + "options": [ + { + "text": "Yes, I want the light weight version", + "value": "lite_image" + }, + { + "text": "No, I want the full version", + "value": "image" + }, + { + "text": "I would like the nvidia optimized image", + "value": "nvidia_image" + } + ], + "default": "image" + } + ], + "requirements": { + "locations": [], + "specifications": ["2CORE", "256MB"], + "permissions": ["READ_WRITE_LOCATIONS"], + "ports": [30130, 30131] + }, + "ensure_directories_exists": [ + { + "path": "$LOCATION(ApplicationsPerformance)", + "network_share": true + }, + { + "path": "$LOCATION(Documents)", + "network_share": true + }, + "$LOCATION(Documents)/scrypted", + "$LOCATION(ApplicationsPerformance)/scrypted/server" + ], + "app_values": { + "scrypted": { + "image_selector": "$QUESTION(image_selector)" + }, + "storage": { + "nvr": "$HOST_PATH($LOCATION(Documents)/scrypted)", + "server": "$HOST_PATH($LOCATION(ApplicationsPerformance)/scrypted/server)" + }, + "network": { + "insecure_port": { + "bind_mode": "published", + "port_number": 30130 + }, + "secure_port": { + "bind_mode": "published", + "port_number": 30131 + } + }, + "resources": { + "limits": { + "cpus": 2, + "memory": "$MEMORY(10%, 2048)" + }, + "gpus": "$GPU_CONFIG()" + } + } +} \ No newline at end of file