dotfiles

<-- duh.
git clone https://hhvn.uk/dotfiles
git clone git://hhvn.uk/dotfiles
Log | Files | Refs | Submodules | LICENSE

queuevid (344B)


      1 #!/bin/sh
      2 
      3 [ "$1" = "ts" ] && {
      4 	mkdir -p $HOME/general/videos/copy
      5 	youtube-dl --format="(bestvideo[height<=640]+bestaudio)[ext=webm]/bestvideo[height<=640]+bestaudio/best[height<=640]/bestvideo+bestaudio/best" --add-metadata -ic "$2" -o "$HOME/general/videos/copy/%(uploader)s-%(title)s.%(ext)s"
      6 }
      7 
      8 [ "$1" != "ts" ] && {
      9 	ts "$0" "ts" "$1"
     10 }