Commit 90c78b1
xxwhirlpool
·
2026-09-24 16:01:06 -0400 EDT
parent 4db98d7
misc
2 files changed,
+12,
-9
+11,
-0
1@@ -1,2 +1,13 @@
2 --output '%(title)s.%(ext)s'
3 --restrict-filenames
4+
5+--merge-output-format mkv
6+--remux-video mkv
7+
8+--embed-subs
9+--embed-thumbnail
10+--embed-metadata
11+--embed-chapters
12+--embed-info-json
13+
14+--sub-langs en.*,-live_chat,-rechat
1@@ -7,16 +7,8 @@ if [[ "$#" -eq 0 ]]; then
2 exit 1
3 fi
4
5-lolcat_echo() {
6- if [[ "$(command -v lolcat)" ]]; then
7- echo "https://stash.4-walls.net/pics/dump/$upload_filename" | lolcat
8- elif [[ ! "$(command -v lolcat)" ]]; then
9- echo "https://stash.4-walls.net/pics/dump/$upload_filename"
10- fi
11-}
12-
13 upload_filename=$(uuidgen)_$(basename "${1// /_}")
14
15 rsync -avzqp --chmod=664 "$1" athena:/var/www/stash/dump/"$upload_filename" || exit 1
16
17-lolcat_echo
18+echo "https://stash.4-walls.net/pics/dump/$upload_filename"