Compare commits

...

3 Commits

Author SHA1 Message Date
Bartosz Korczak dcd35adf71
fix(n8n): add missing installation dependency (#2466) 2024-02-10 11:35:39 -05:00
tteckster db3fe0e9ad
Update channels-install.sh
add Hardware Acceleration
2024-02-10 09:40:59 -05:00
tteckster 21cdc8306a
Update build.func
add Channels to the VAAPI hardware transcoding group
2024-02-10 09:38:28 -05:00
3 changed files with 16 additions and 1 deletions

View File

@ -21,6 +21,20 @@ $STD apt-get install -y chromium
$STD apt-get install -y xvfb
msg_ok "Installed Dependencies"
if [[ "$CTTYPE" == "0" ]]; then
msg_info "Setting Up Hardware Acceleration"
$STD apt-get -y install \
va-driver-all \
ocl-icd-libopencl1 \
intel-opencl-icd
chgrp video /dev/dri
chmod 755 /dev/dri
chmod 660 /dev/dri/*
$STD adduser $(id -u -n) video
$STD adduser $(id -u -n) render
msg_ok "Set Up Hardware Acceleration"
fi
msg_info "Installing Channels DVR Server (Patience)"
cd /opt
$STD bash <(curl -fsSL https://getchannels.com/dvr/setup.sh)

View File

@ -33,6 +33,7 @@ $STD apt-get install -y nodejs
msg_ok "Installed Node.js"
msg_info "Installing n8n (Patience)"
$STD npm install --global patch-package
$STD npm install --global n8n
msg_ok "Installed n8n"

View File

@ -554,7 +554,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