Update musicassistant-install.sh

This commit is contained in:
CanbiZ 2025-04-15 10:51:23 +02:00
parent 5f186364a0
commit 880fb73650

View File

@ -17,9 +17,11 @@ $STD apt-get install -y \
ffmpeg \ ffmpeg \
build-essential \ build-essential \
libffi-dev \ libffi-dev \
git \
libssl-dev \ libssl-dev \
libjpeg-dev \ libjpeg-dev \
zlib1g-dev \ zlib1g-dev \
snapserver \
pkg-config pkg-config
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
@ -38,11 +40,20 @@ $STD fetch_and_deploy_gh_release music-assistant/server
cd /opt/musicassistant cd /opt/musicassistant
$STD python3 -m venv .venv $STD python3 -m venv .venv
$STD source .venv/bin/activate $STD source .venv/bin/activate
$STD pip install uv $STD pip3 install uv
$STD pip install --upgrade pip uv $STD pip install --upgrade pip uv
$STD uv pip install . $STD uv pip install .
msg_ok "Setup Music Assistant" msg_ok "Setup Music Assistant"
msg_info "Adding AirPlay Support"
cd /usr/local/src
git clone https://github.com/music-assistant/libraop.git
cd libraop
#mkdir build && cd build
#cmake ..
#make -j$(nproc)
msg_ok "Added AirPlay Support"
msg_info "Creating systemd service" msg_info "Creating systemd service"
cat <<EOF >/etc/systemd/system/musicassistant.service cat <<EOF >/etc/systemd/system/musicassistant.service
[Unit] [Unit]