From 3cd83ed4505abd8ba7ed5b8a0538db18ac379235 Mon Sep 17 00:00:00 2001 From: shockrah Date: Mon, 6 Jul 2020 13:36:37 -0700 Subject: [PATCH] ignoring errors on playlist dl for ytdl changed output ids to match new setup --- proj | 4 ++-- ytdl | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/proj b/proj index fc547c5..a94f789 100755 --- a/proj +++ b/proj @@ -16,8 +16,8 @@ then dmenu -i -p 'Pick side'` if [ -z "$side" ]; then exit 0; fi - echo "xrandr --output $out --auto $side DVI-I-1" - xrandr --output $out --auto --$side DVI-I-1 + echo "xrandr --output $out --auto $side HDMI-4" + xrandr --output $out --auto --$side HDMI-4 else # Get the display we want to remove out=`xrandr | grep ' connected' | awk '{print $1}' | \ diff --git a/ytdl b/ytdl index 2d7755b..1357d43 100755 --- a/ytdl +++ b/ytdl @@ -20,10 +20,10 @@ outsingle="$HOME/Music/${dir}/%(title)s.%(ext)s" # youtube playlists if echo "$url" | grep -q '&list=\|?list'; then - $cmd -o "$outplaylist" "$url" + $cmd -i -o "$outplaylist" "$url" # soundcloud sets elif echo "$url" | grep -q '/sets/'; then - $cmd -o "$outplaylist" "$url" + $cmd -i -o "$outplaylist" "$url" else $cmd -o "$outsingle" "$url" fi