From 14d3925e99b292e724e7732757a4b4426e7942aa Mon Sep 17 00:00:00 2001 From: user1 Date: Mon, 30 Aug 2021 22:39:59 +0200 Subject: [PATCH] suche fix --- youtube-vlc.sh | 4 ++-- youtube-vlc_windows.sh | 4 ++-- youtube.sh | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/youtube-vlc.sh b/youtube-vlc.sh index ddeea6d..7779490 100644 --- a/youtube-vlc.sh +++ b/youtube-vlc.sh @@ -47,10 +47,10 @@ fi video="" if [ "$suche" == "suche" ] then - if ! youtube-dl "ytsearch:$url" -i -c --socket-timeout 10000 --force-ipv4 --restrict-filenames --no-playlist $format $url; then + if ! youtube-dl "ytsearch:$url" -i -c --socket-timeout 10000 --force-ipv4 --restrict-filenames --no-playlist $format; then echo "Download fehlgeschlagen" fi - video=$(youtube-dl "ytsearch:$url" -i -c --socket-timeout 10000 --force-ipv4 --restrict-filenames --no-playlist --get-filename $format $url) + video=$(youtube-dl "ytsearch:$url" -i -c --socket-timeout 10000 --force-ipv4 --restrict-filenames --no-playlist --get-filename $format) else if ! youtube-dl -i -c --socket-timeout 10000 --force-ipv4 --restrict-filenames --no-playlist $format $url; then echo "Download fehlgeschlagen" diff --git a/youtube-vlc_windows.sh b/youtube-vlc_windows.sh index c430d90..57a5dc7 100644 --- a/youtube-vlc_windows.sh +++ b/youtube-vlc_windows.sh @@ -47,10 +47,10 @@ fi video="" if [ "$suche" == "suche" ] then - if ! youtube-dl "ytsearch:$url" -i -c --socket-timeout 10000 --force-ipv4 --restrict-filenames --no-playlist $format $url; then + if ! youtube-dl "ytsearch:$url" -i -c --socket-timeout 10000 --force-ipv4 --restrict-filenames --no-playlist $format; then echo "Download fehlgeschlagen" fi - video=$(youtube-dl "ytsearch:$url" -i -c --socket-timeout 10000 --force-ipv4 --restrict-filenames --no-playlist --get-filename $format $url) + video=$(youtube-dl "ytsearch:$url" -i -c --socket-timeout 10000 --force-ipv4 --restrict-filenames --no-playlist --get-filename $format) else if ! youtube-dl -i -c --socket-timeout 10000 --force-ipv4 --restrict-filenames --no-playlist $format $url; then echo "Download fehlgeschlagen" diff --git a/youtube.sh b/youtube.sh index c430d90..57a5dc7 100755 --- a/youtube.sh +++ b/youtube.sh @@ -47,10 +47,10 @@ fi video="" if [ "$suche" == "suche" ] then - if ! youtube-dl "ytsearch:$url" -i -c --socket-timeout 10000 --force-ipv4 --restrict-filenames --no-playlist $format $url; then + if ! youtube-dl "ytsearch:$url" -i -c --socket-timeout 10000 --force-ipv4 --restrict-filenames --no-playlist $format; then echo "Download fehlgeschlagen" fi - video=$(youtube-dl "ytsearch:$url" -i -c --socket-timeout 10000 --force-ipv4 --restrict-filenames --no-playlist --get-filename $format $url) + video=$(youtube-dl "ytsearch:$url" -i -c --socket-timeout 10000 --force-ipv4 --restrict-filenames --no-playlist --get-filename $format) else if ! youtube-dl -i -c --socket-timeout 10000 --force-ipv4 --restrict-filenames --no-playlist $format $url; then echo "Download fehlgeschlagen"