Standard escape codes are prefixed with Escape:
- Ctrl-Key:
^[ - Octal:
\033 - Unicode:
\u001b - Hexadecimal:
\x1B - Decimal:
27
| #!/bin/bash | |
| ### And Yet It Moves' Simple Startscript | |
| ### Run, jump and turn the world upside-down with And Yet It Moves! | |
| ### Enjoy! | |
| ### webs | |
| rootdir="$(dirname "$(readlink -f "${BASH_SOURCE[0]}")")" | |
| libdir="lib" | |
| bin=lib/AndYetItMoves |
| #!/usr/bin/python3 | |
| '''A script that reads episode filenames from standard input, one per line, | |
| and prints out the corresponding filenames in a standard format on standard | |
| output, one per line. The tvnamer Python library is used to generate the | |
| new filenames, and TheTVDB is used to access episode titles. So this does | |
| basically the same thing as tvnamer, except that instead of actually | |
| renaming files, it just transforms filenames.''' | |
| import os.path, sys, json |
| * |
| ffprobe -v quiet -print_format json -show_format -show_streams "lolwut.mp4" > "lolwut.mp4.json" |