ignoring errors on playlist dl for ytdl

changed output ids to match new setup
This commit is contained in:
shockrah 2020-07-06 13:36:37 -07:00
parent 904b8971d5
commit 3cd83ed450
2 changed files with 4 additions and 4 deletions

4
proj
View File

@ -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}' | \

4
ytdl
View File

@ -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