Tweaks
This commit is contained in:
parent
c2cd04758a
commit
fd50ebe6fd
@ -1,10 +1,8 @@
|
||||
#/bin/bash
|
||||
|
||||
# TODO videos seem to be downloading multiple times
|
||||
# TODO late show
|
||||
|
||||
DOWNLOAD_DIR=/media/storage/shared/Videos
|
||||
YOUTUBE_DL="python3 /usr/local/bin/youtube-dl"
|
||||
DOWNLOAD_DIR=/media/nas/video/series
|
||||
YOUTUBE_DL="/usr/bin/youtube-dl"
|
||||
#YOUTUBE_DL="python3 /usr/local/bin/youtube-dl"
|
||||
#KEEP_DAYS=40
|
||||
KEEP_DAYS=100
|
||||
ARGS=-qwc
|
||||
@ -46,7 +44,7 @@ function download_show {
|
||||
url="$1"
|
||||
show="$2"
|
||||
|
||||
mkdir -p "${DOWNLOAD_DIR}/${show}/"
|
||||
mkdir -p "${DOWNLOAD_DIR}/${show}"
|
||||
|
||||
# Get a chosen video format for each site
|
||||
if [[ "${url}" =~ cc.com ]]; then
|
||||
@ -104,5 +102,3 @@ else
|
||||
download_show "${url}" "${show}"
|
||||
done
|
||||
fi
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user