From f504bf4e455f269c6c2f290e84ca9a96b5df6565 Mon Sep 17 00:00:00 2001 From: Seraph91P Date: Tue, 14 Nov 2023 14:31:31 +0100 Subject: [PATCH] feat(emby): added switch for hardware transcoding. (#68) * feat(emby): added switch for hardware transcoding. * feat(fix): closed if --- servapps/Emby/cosmos-compose.json | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/servapps/Emby/cosmos-compose.json b/servapps/Emby/cosmos-compose.json index c8bd1671..12d1d6c3 100644 --- a/servapps/Emby/cosmos-compose.json +++ b/servapps/Emby/cosmos-compose.json @@ -12,6 +12,12 @@ "label": "What is the path to your series? (leave empty to not mount anything)", "initialValue": "{DefaultDataPath}/series", "type": "text" + }, + { + "name": "useHwTranscoding", + "label": "Do you want to use HW Transcoding? (assumes intel chip for VAAPI encoder)", + "initialValue": false, + "type": "checkbox" } ] }, @@ -33,6 +39,11 @@ "cosmos-auto-update": "true", "cosmos-icon": "https://azukaar.github.io/cosmos-servapps-official/servapps/Emby/icon.png" }, + {if Context.useHwTranscoding} + "devices": [ + "/dev/dri:/dev/dri" + ], + {/if}, "volumes": [ { "source": "{ServiceName}-config",