Tweakin da aliases
This commit is contained in:
parent
8c4fbcc4a8
commit
0ecad79655
17
.aliases
17
.aliases
|
|
@ -437,9 +437,6 @@ download_youtube_vid() {
|
|||
return
|
||||
fi
|
||||
|
||||
#printf "${BOLD}${RED}USING TEMP FIX FOR YOUTUBE FORMAT ISSUES BY SETTING THE CLIENT TO tv_simply.\nWAS FIXED (SEE https://github.com/yt-dlp/yt-dlp/issues/13930)\nBUT THE NEW VERSION IS DOWNLOADING LOWER BITRATE VIDS\nTHAN THIS FIX, SO THE PATCH STAYS FOR NOW!\n\n${NORMAL}"
|
||||
#opts+=" --extractor-args youtube:player-client=default,tv_simply"
|
||||
|
||||
if [[ $shortname == "1" || $transcribe == "1" ]]; then
|
||||
printf "${BOLD}Downloading Youtube vid "
|
||||
if [[ $shortname == "1" ]]; then printf "| ${YELLOW}using short name${NORMAL}${BOLD} "; fi
|
||||
|
|
@ -677,7 +674,7 @@ download_twitch_chat() {
|
|||
fi
|
||||
fi
|
||||
|
||||
actually_download_twitch_chat $url "$(yt-dlp.exe --get-filename -o "%(upload_date>%Y-%m-%d)s-%(title)s-tw-%(id)s.chat" $opts $url)"
|
||||
actually_download_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 ..; fi
|
||||
}
|
||||
|
|
@ -793,7 +790,7 @@ download_twitch_vid() {
|
|||
local temp_name="temp_${RANDOM}"
|
||||
extension="${filename##*.}"
|
||||
# 0=cpu, 1=gpu
|
||||
compress-video "$filename" "$temp_name" 0
|
||||
compress-video "$filename" "$temp_name" 1
|
||||
mv "$filename" "orig_$filename"
|
||||
mv $temp_name.$extension "$filename"
|
||||
printf "${BOLD}Make sure to delete the original video file\n${NORMAL}"
|
||||
|
|
@ -873,7 +870,7 @@ download_vimeo_vid() {
|
|||
if [[ $compress == "1" ]]; then
|
||||
local temp_name="temp_${RANDOM}"
|
||||
# 0=cpu, 1=gpu
|
||||
compress-video "$filename" "$temp_name" 0
|
||||
compress-video "$filename" "$temp_name" 1
|
||||
extension="${filename##*.}"
|
||||
mv "$filename" "orig_$filename"
|
||||
mv $temp_name.$extension "$filename"
|
||||
|
|
@ -1251,7 +1248,7 @@ alias vimeo-compressed-t='download_vimeo_vid "" $SHORTNAME_OFF $COMPRESSION_ON
|
|||
#-------------------------------------------------
|
||||
# Instagram Vid DL
|
||||
#-------------------------------------------------
|
||||
alias ig='echo using my accounts with cookies to dl ig vids makes instagram think i am a bot and they might close my account. do not use your accounts' #download_instagram_vid $TRANSCRIBE_OFF'
|
||||
alias ig='echo using my accounts with cookies to dl ig vids makes instagram think i am a bot and they might close my account. do not use your accounts; download_instagram_vid $TRANSCRIBE_OFF'
|
||||
alias igt='echo using my accounts with cookies to dl ig vids makes instagram think i am a bot and they might close my account. do not use your accounts' #download_instagram_vid $TRANSCRIBE_ON'
|
||||
|
||||
#-------------------------------------------------
|
||||
|
|
@ -1281,6 +1278,10 @@ alias tv='echo can just do a cv with a time range...' #trim-video-vbr'
|
|||
|
||||
function compress_and_normalize_volume() {
|
||||
local final_name="$1"
|
||||
if [[ $final_name == "" ]]; then
|
||||
error "Provide a final file name"
|
||||
return
|
||||
fi
|
||||
compress-video f.mp4 ff ; normalize-volume ff.mp4 "$final_name"
|
||||
}
|
||||
|
||||
|
|
@ -1435,7 +1436,7 @@ alias gpt='git push --tags'
|
|||
alias gptf='git push --tags -f'
|
||||
alias gpu='git push --set-upstream origin HEAD'
|
||||
alias gr='git reset'
|
||||
alias gr1='git reset HEAD^1; gl'
|
||||
alias gr1='git reset HEAD^1'
|
||||
alias grb='git rebase --autostash'
|
||||
alias grba='git rebase --abort'
|
||||
alias grbc='git rebase --continue'
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user