SHARE
TWEET

Untitled

a guest Jun 25th, 2019 64 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/usr/bin/env fish
  2.  
  3. cd /home/the0x539/Media/secret/aobuta/muxing
  4.  
  5. rm subs/*.ass
  6. cp ../*.ass subs/
  7.  
  8. dos2unix subs/*.ass
  9.  
  10. for i in (seq -w 13)
  11.     #continue
  12.     set -l filename "[0x539] Seishun Buta Yarou wa Bunny Girl Senpai no Yume o Minai - $i (BD 1080p x265 10bit FLAC).mkv"
  13.     set -l flags \
  14.         --default-track 0:1 --language 0:jpn --default-track 1:1 --language 1:jpn --no-chapters raws/$i.mkv \
  15.         --default-track 0:1 --language 0:eng subs/$i.ass \
  16.         --chapters chapters/$i.xml \
  17.         attachments/$i.mkx \
  18.         --title "Seishun Buta Yarou - $i - "(cat titles/$i.txt) \
  19.         --output $filename
  20.     mkvmerge $flags
  21.     #echo "Generating CRC for $filename"
  22.     #filename_crc $filename
  23. end
  24.  
  25. for i in NCOP NCED\ {A,B,C,D,E}
  26.     #continue
  27.     set -l filename "[0x539] Seishun Buta Yarou wa Bunny Girl Senpai no Yume o Minai - $i (BD 1080p x265 10bit FLAC).mkv"
  28.     set -l flags \
  29.         --default-track 0:1 --language 0:jpn --default-track 1:1 --language 1:jpn raws/$i.mkv \
  30.         --default-track 0:1 --language 0:eng subs/$i.ass \
  31.         attachments/$i.mkx \
  32.         --title "Seishun Buta Yarou - $i - "(cat titles/$i.txt) \
  33.         --output $filename
  34.     mkvmerge $flags
  35.     #echo "Generating CRC for $filename"
  36.     #filename_crc $filename
  37. end
  38.  
  39. for i in 0(seq 5)
  40.     #continue
  41.     set -l filename "[0x539] Seishun Buta Yarou Mini Drama - $i (FLAC).mkv"
  42.     set -l flags \
  43.         --default-track 0:1 --language 0:und --default-track 1:1 --language 1:jpn raws/MD$i.mkv \
  44.         --default-track 0:1 --language 0:eng subs/MD$i.ass \
  45.         attachments/MD.mkx \
  46.         --title "Seishun Buta Yarou Mini Drama - $i - "(cat titles/MD$i.txt) \
  47.         --output $filename
  48.     mkvmerge $flags
  49.     #echo "Generating CRC for $filename"
  50.     #filename_crc $filename
  51. end
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top