Skip to content

Instantly share code, notes, and snippets.

@therealromster
Created December 13, 2014 11:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save therealromster/e30c9e9fcd1c6a3aafd7 to your computer and use it in GitHub Desktop.
Save therealromster/e30c9e9fcd1c6a3aafd7 to your computer and use it in GitHub Desktop.
version sort generate ffmpeg
version=#exec lsurl.py --common-ext http://ffmpeg.org/releases/ | filter-tool.py --show-ranking --show-failed --print-sorted --head 1 | awk 'NF {print $3}'
$ ./generate
# [filter-tool] ffmpeg: omitted 324 more line(s) due to --head
# [filter-tool] failed lines are:
# [filter-tool] http://ffmpeg.org/releases/ffmpeg-snapshot-git.tar.bz2
# [filter-tool] http://ffmpeg.org/releases/ffmpeg-snapshot.tar.bz2
# [filter-tool] Matching rules by popularity:
# [filter-tool] 143 default.py:219
# [filter-tool] 143 default.py:218
# [filter-tool] 16 default.py:117
# [filter-tool] 15 default.py:116
# [filter-tool] 3 default.py:168
# [filter-tool] 3 default.py:167
# [filter-tool] 1 default.py:288
# [filter-tool] 1 default.py:287
version=2.5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment