From 086011ae2996a296fc838d449b6e6dce8f1f69f2 Mon Sep 17 00:00:00 2001 From: fred Date: Thu, 16 Sep 2021 22:07:58 +0200 Subject: [PATCH] --no-playlist --- ajouter_video.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ajouter_video.sh b/ajouter_video.sh index 42ecbb1..b34c484 100755 --- a/ajouter_video.sh +++ b/ajouter_video.sh @@ -122,7 +122,7 @@ mkdir -p ${YTEMP} # youtube-dl $YTURL echo "VIDEO $YTURL" /usr/local/bin/youtube-dl -f '[height=720]/best' \ ---write-info-json --write-annotations \ +--no-playlist --write-info-json --write-annotations \ --no-mtime -o "${YTEMP}/%(id)s&%(title)s.%(ext)s" $YTURL # Get filename, extract ID, make destination dir and move copy.