Tweak twitch chat download and windows install readme

This commit is contained in:
Michael Campagnaro 2022-07-10 14:35:58 -04:00
parent 8bc573bfad
commit dc15320039
2 changed files with 14 additions and 6 deletions

View File

@ -495,8 +495,9 @@ actually_dl_twitch_chat() {
} }
dl_twitch_chat() { dl_twitch_chat() {
local url="$1" local make_folder="$1"
shift 1 local url="$2"
shift 2
local opts="$@" local opts="$@"
if [[ $url == "" ]]; then if [[ $url == "" ]]; then
@ -504,14 +505,18 @@ dl_twitch_chat() {
return return
fi fi
if [[ $make_folder == "1" ]]; then
make_vid_dir_and_cd_into $url "" $opts make_vid_dir_and_cd_into $url "" $opts
if [[ $? -ne 0 ]]; then if [[ $? -ne 0 ]]; then
return return
fi fi
fi
actually_dl_twitch_chat $url "$(yt-dlp.exe --get-filename -o "%(upload_date>%Y-%m-%d)s-%(title)s-tw-%(id)s" $opts $url)" actually_dl_twitch_chat $url "$(yt-dlp.exe --get-filename -o "%(upload_date>%Y-%m-%d)s-%(title)s-tw-%(id)s" $opts $url)"
if [[ $make_folder == "1" ]]; then
cd .. cd ..
fi
} }
# Download Twitch videos, both VODs and live streams. Pass a Twitch account URL to download a live stream. # Download Twitch videos, both VODs and live streams. Pass a Twitch account URL to download a live stream.

View File

@ -144,3 +144,6 @@ processor time and is generally useless.
* Disable unneeded services * Disable unneeded services
* Do a pass over all Windows setting screens for anything obvious that wasn't covered here. * Do a pass over all Windows setting screens for anything obvious that wasn't covered here.
* Open the Windows settings Apps & features and remove bloatware that isn't visible in the
control panel add/remove list, e.g. OneDrive