Skip to content

Commit

Permalink
Fix yt-dlp upload path
Browse files Browse the repository at this point in the history
  • Loading branch information
wy580477 committed Jan 19, 2023
1 parent 14a243d commit 2e2e5c6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions content/ytdlptorclone.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ source /workdir/script_core.sh
DEFINITION_PATH() {
UPLOAD_MODE="$(grep ^ytdlp-upload-mode /mnt/data/config/script.conf | cut -d= -f2-)"
YTDLP_DRIVE_DIR="$(grep ^ytdlp-drive-dir /mnt/data/config/script.conf | cut -d= -f2-)"
DOWNLOAD_DIR=/mnt/data/videos
FILE_PATH=$(echo ${LOCAL_PATH} | sed 's:[^/]*$::')
FILE_NAME=$(basename "${LOCAL_PATH}")
MSG_PATH="${LOCAL_PATH}"
Expand Down

0 comments on commit 2e2e5c6

Please sign in to comment.