Update build.func

add Channels to the VAAPI hardware transcoding group
This commit is contained in:
tteckster 2023-11-30 19:42:10 -05:00 committed by GitHub
parent 590f85ccd2
commit dd43d742e0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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