Files
ProxmoxVE/install/audiobookshelf-install.sh
T

36 lines
871 B
Bash
Raw Normal View History

2023-03-22 20:48:20 -04:00
#!/usr/bin/env bash
# Copyright (c) 2021-2026 tteck
2023-03-22 20:48:20 -04:00
# Author: tteck (tteckster)
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
# Source: https://www.audiobookshelf.org/
2023-03-22 20:48:20 -04:00
source /dev/stdin <<<"$FUNCTIONS_FILE_PATH"
2023-03-22 20:48:20 -04:00
color
verb_ip6
catch_errors
setting_up_container
network_check
update_os
2025-09-10 16:20:26 +02:00
msg_info "Installing Dependencies"
$STD apt install -y ffmpeg
2025-09-10 16:20:26 +02:00
msg_ok "Installed Dependencies"
2026-01-04 18:33:09 +01:00
setup_deb822_repo \
"audiobookshelf" \
"https://advplyr.github.io/audiobookshelf-ppa/KEY.gpg" \
"https://advplyr.github.io/audiobookshelf-ppa" \
"./"
2025-09-10 16:20:26 +02:00
msg_info "Setup audiobookshelf"
$STD apt install -y audiobookshelf
echo "FFMPEG_PATH=/usr/bin/ffmpeg" >>/etc/default/audiobookshelf
echo "FFPROBE_PATH=/usr/bin/ffprobe" >>/etc/default/audiobookshelf
2026-01-04 18:33:09 +01:00
systemctl restart audiobookshelf
2025-09-10 16:20:26 +02:00
msg_ok "Setup audiobookshelf"
2023-03-22 20:48:20 -04:00
motd_ssh
2023-05-15 07:39:30 -04:00
customize
cleanup_lxc