Commit 90c78b1

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