From fd50ebe6fd2588c48b7f953c4c1633ab69b6a379 Mon Sep 17 00:00:00 2001 From: tim Date: Thu, 15 Oct 2015 16:33:04 +0200 Subject: [PATCH] Tweaks --- download_daily_shows.sh | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/download_daily_shows.sh b/download_daily_shows.sh index c25345f..e3b702c 100755 --- a/download_daily_shows.sh +++ b/download_daily_shows.sh @@ -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 - -