Update build.func

Add Frigate to the VAAPI hardware transcoding group
This commit is contained in:
tteckster 2024-03-30 08:13:34 -04:00 committed by GitHub
parent 597162b0a8
commit 4ba3233dc0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -570,7 +570,7 @@ EOF
fi fi
if [ "$CT_TYPE" == "0" ]; then if [ "$CT_TYPE" == "0" ]; then
if [[ "$APP" == "Channels" || "$APP" == "Emby" || "$APP" == "Jellyfin" || "$APP" == "Plex" || "$APP" == "Scrypted" || "$APP" == "Tdarr" || "$APP" == "Unmanic" ]]; then if [[ "$APP" == "Channels" || "$APP" == "Emby" || "$APP" == "Frigate" || "$APP" == "Jellyfin" || "$APP" == "Plex" || "$APP" == "Scrypted" || "$APP" == "Tdarr" || "$APP" == "Unmanic" ]]; then
cat <<EOF >>$LXC_CONFIG cat <<EOF >>$LXC_CONFIG
# VAAPI hardware transcoding # VAAPI hardware transcoding
lxc.cgroup2.devices.allow: c 226:0 rwm lxc.cgroup2.devices.allow: c 226:0 rwm