about summary refs log tree commit diff
path: root/bundles/jellyfin/items.py
diff options
context:
space:
mode:
Diffstat (limited to 'bundles/jellyfin/items.py')
-rw-r--r--bundles/jellyfin/items.py33
1 files changed, 33 insertions, 0 deletions
diff --git a/bundles/jellyfin/items.py b/bundles/jellyfin/items.py
new file mode 100644
index 0000000..5ed07ef
--- /dev/null
+++ b/bundles/jellyfin/items.py
@@ -0,0 +1,33 @@
+files = {
+    "/var/lib/jellyfin/plugins/SSO-Auth.zip": {
+        "content_type": "download",
+        "source": "https://github.com/9p4/jellyfin-plugin-sso/releases/download/v3.5.2.4/sso-authentication_3.5.2.4.zip",
+        "content_hash": "a2f00e5acc7adf785202e27fffc969e019cbd9e8",
+        "triggers": {"action:extract-jellyfin-plugin-sso"},
+    },
+    "/var/lib/jellyfin/config/branding.xml": {
+        "content_type": "text",
+        "triggers": {"svc_s6rc:jellyfin:restart"},
+    },
+    "/var/lib/jellyfin/config/logging.json": {
+        "content_type": "mako",
+        "triggers": {"svc_s6rc:jellyfin:restart"},
+    },
+    "/var/lib/jellyfin/plugins/configurations/SSO-Auth.xml": {
+        "content_type": "mako",
+        "triggers": {"svc_s6rc:jellyfin:restart"},
+    },
+
+    "/etc/deployments/jellyfin/kube.yaml": {
+        "content_type": "text",
+        "source": "kube.yaml",
+        "triggers": {"svc_s6rc:jellyfin:restart"},
+    },
+}
+
+actions = {
+    "extract-jellyfin-plugin-sso": {
+        "command": "unzip -d /var/lib/jellyfin/plugins/SSO-Auth /var/lib/jellyfin/plugins/SSO-Auth.zip",
+        "triggered": True,
+    },
+}