Fix YtDL_Options (Filename to long) (#3183)

This commit is contained in:
CanbiZ 2024-06-12 22:46:08 +02:00 committed by GitHub
parent c2fe080307
commit 3a455a9e9e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 7 additions and 1 deletions

View File

@ -19,6 +19,11 @@ msg_info "Installing Dependencies"
$STD apt-get install -y --no-install-recommends \ $STD apt-get install -y --no-install-recommends \
build-essential \ build-essential \
curl \ curl \
aria2 \
coreutils \
gcc \
g++ \
musl-dev \
sudo \ sudo \
ffmpeg \ ffmpeg \
git \ git \
@ -60,6 +65,7 @@ cat <<EOF >/opt/metube/.env
DOWNLOAD_DIR=/opt/metube_downloads DOWNLOAD_DIR=/opt/metube_downloads
STATE_DIR=/opt/metube_downloads/.metube STATE_DIR=/opt/metube_downloads/.metube
TEMP_DIR=/opt/metube_downloads TEMP_DIR=/opt/metube_downloads
YTDL_OPTIONS={"trim_file_name":10}
EOF EOF
msg_ok "Installed MeTube" msg_ok "Installed MeTube"
@ -89,4 +95,4 @@ customize
msg_info "Cleaning up" msg_info "Cleaning up"
$STD apt-get -y autoremove $STD apt-get -y autoremove
$STD apt-get -y autoclean $STD apt-get -y autoclean
msg_ok "Cleaned" msg_ok "Cleaned"