mirror of
https://github.com/community-scripts/ProxmoxVED.git
synced 2026-02-25 15:05:54 +00:00
Merge branch 'community-scripts:main' into main
This commit is contained in:
@@ -14,34 +14,46 @@ update_os
|
||||
|
||||
msg_info "Installing Dependencies"
|
||||
$STD apt-get install -y \
|
||||
ffmpeg \
|
||||
build-essential \
|
||||
libffi-dev \
|
||||
libssl-dev \
|
||||
libjpeg-dev \
|
||||
zlib1g-dev \
|
||||
pkg-config
|
||||
ffmpeg \
|
||||
build-essential \
|
||||
libffi-dev \
|
||||
cmake \
|
||||
git \
|
||||
libssl-dev \
|
||||
libjpeg-dev \
|
||||
zlib1g-dev \
|
||||
snapserver \
|
||||
pkg-config
|
||||
msg_ok "Installed Dependencies"
|
||||
|
||||
msg_info "Setup Python3"
|
||||
$STD apt-get install -y \
|
||||
python3 \
|
||||
python3-dev \
|
||||
python3-pip \
|
||||
python3-setuptools \
|
||||
python3-venv
|
||||
python3 \
|
||||
python3-dev \
|
||||
python3-pip \
|
||||
python3-setuptools \
|
||||
python3-venv
|
||||
rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED
|
||||
msg_ok "Setup Python3"
|
||||
|
||||
msg_info "Setup Music Assistant"
|
||||
$STD fetch_and_deploy_gh_release music-assistant/server
|
||||
cd /opt/musicassistant
|
||||
$STD pip3 install uv
|
||||
$STD pip install --upgrade pip uv
|
||||
$STD python3 -m venv .venv
|
||||
$STD source .venv/bin/activate
|
||||
$STD pip install --upgrade pip uv
|
||||
$STD uv pip install .
|
||||
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
|
||||
git submodule update --init
|
||||
./build.sh
|
||||
msg_ok "Added AirPlay Support"
|
||||
|
||||
msg_info "Creating systemd service"
|
||||
cat <<EOF >/etc/systemd/system/musicassistant.service
|
||||
[Unit]
|
||||
|
||||
Reference in New Issue
Block a user