convert this to zenity script [code]
- User
convert this to zenity script ``` echo " $(xclip -o)" echo " █▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀█ █ Choose FORMAT: █ █▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄█ █ █ █ 1) 480p + sub █ █ 2) 480p + sub + Playlist █ █ 3) 480p + sub + Aria2 █ █ 4) 720p + sub (Default) █ █ 5) 720p + sub + Playlist █ █ 6) 720p + sub + Aria2 █ █ █ █ 7) See Format - single video █ █ 8) playlist + Custom Format █ █ 9) For only SUBs (en,tr-en) █ █ 10) From Batch File (720p) █ █ █ █▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄█" read FORMAT
YTDLP=" yt-dlp -ic --no-mtime" OUTTMPL="-o Desktop/Downloads/Youtube/%(title)s.%(ext)s" ARCHIVE="--download-archive Desktop/Downloads/Youtube/archive.txt" BATCH="--batch-file Desktop/Downloads/Youtube/batch.txt" SUBTITLE="--write-subs --write-auto-sub --convert-subs srt --embed-subs --sub-lang en-tr,en --embed-thumbnail --compat-options no-keep-subs" OUTPUT="--merge-output-format=mkv" F480="-f 244+250/bv[height<=480]+ba/best[height<=480]" F720="-f 247+251/22/best[height<=720]" ARIA2="--downloader aria2c --downloader-args"#aria2c:"--continue=true --max-connection-per-server=4 --max-tries=5 --retry-wait=3 --timeout=5" URL=$(xclip -o)
case $FORMAT in 1) $YTDLP $OUTTMPL $SUBTITLE $F480 $OUTPUT $URL ;; 4) $YTDLP $OUTTMPL $SUBTITLE $F720 $OUTPUT $URL ;; 2) echo "" echo "Choose playlist range (START-STOP)" echo "" read ITEMS PLAYLIST="--playlist-items $ITEMS" $YTDLP $OUTTMPL $ARCHIVE $PLAYLIST $SUBTITLE $F480 $OUTPUT $URL ;; 5) echo "" echo "Choose playlist range (START-STOP)" echo "" read ITEMS PLAYLIST="--playlist-items $ITEMS" $YTDLP $OUTTMPL $ARCHIVE $PLAYLIST $SUBTITLE $F720 $OUTPUT $URL ;; 7) $YTDLP $OUTTMPL --no-playlist -F $URL echo "" echo "Choose your Own format (video+audio)" echo "" read CUSTOM $YTDLP $OUTTMPL --no-playlist -f $CUSTOM $OUTPUT $URL ;; 8) echo "" echo "Choose playlist range (START-STOP)" echo "" read ITEMS echo "" echo "Choose your Own format (video+audio)" echo "" read CUSTOM PLAYLIST="--playlist-items $ITEMS" $YTDLP $OUTTMPL $ARCHIVE $PLAYLIST $SUBTITLE -f $CUSTOM $OUTPUT $URL ;; 9) echo "" echo "Choose playlist range (START-STOP)" echo "" read ITEMS PLAYLIST="--playlist-items $ITEMS" $YTDLP $OUTTMPL $ARCHIVE $PLAYLIST $SUBTITLE --skip-download $URL ;; 10) $YTDLP $OUTTMPL $ARCHIVE $SUBTITLES $BATCH $OUTPUT $F720 ;; 3) $YTDLP $OUTTMPL $ARIA2 aria2c:"--continue=true --max-connection-per-server=4 --max-tries=5 --retry-wait=3 --timeout=5" $SUBTITLES $F480 $OUTPUT $URL ;; 6) $YTDLP $OUTTMPL $ARIA2 aria2c:"--continue=true --max-connection-per-server=4 --max-tries=5 --retry-wait=3 --timeout=5" $SUBTITLES $F720 $OUTPUT $URL ;; *) $YTDLP $OUTTMPL $SUBTITLE $F720 $OUTPUT $URL esac ``` - Assistant
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.