Added Hardware Acceleration to emby_setup.sh

This commit is contained in:
Steven Seifried 2022-02-06 22:59:05 +01:00
parent 33fc73868e
commit 9fb3ab26b8
No known key found for this signature in database
GPG key ID: 174371A9356D63E5

View file

@ -38,7 +38,16 @@ apt -qqy install \
curl \
sudo \
apt-transport-https \
gnupg &>/dev/null
gnupg \
va-driver-all \
ocl-icd-libopencl1 \
beignet-opencl-icd &>/dev/null
echo -e "${CHECKMARK} \e[1;92m Configure Hardware Acceleration... \e[0m"
/bin/chgrp video /dev/dri
/bin/chmod 755 /dev/dri
/bin/chmod 660 /dev/dri/*
echo -e "${CHECKMARK} \e[1;92m Downloading Emby Server... \e[0m"
wget https://github.com/MediaBrowser/Emby.Releases/releases/download/4.6.7.0/emby-server-deb_4.6.7.0_amd64.deb &>/dev/null
@ -60,4 +69,4 @@ EOF
systemctl daemon-reload
systemctl restart $(basename $(dirname $GETTY_OVERRIDE) | sed 's/\.d//')
echo -e "${CHECKMARK} \e[1;92m Cleanup... \e[0m"
rm -rf /jellyfin_setup.sh /var/{cache,log}/* /var/lib/apt/lists/*
rm -rf /emby_setup.sh /var/{cache,log}/* /var/lib/apt/lists/*