tools: Added mediainfo tool for many media file types.

This commit is contained in:
Andrew Hamilton 2018-06-02 10:15:22 +10:00
parent 73d06e6ff8
commit 7c2227f209
2 changed files with 14 additions and 2 deletions

View file

@ -23,7 +23,7 @@ then to run:
### Tools ### Tools
Extensions(41) | Tools(48) Extensions(75) | Tools(49)
---------- | ----- ---------- | -----
.* | [contents](http://pygments.org/) • metadata • [git_blame](https://git-scm.com/docs/git-blame) • [git_log](https://git-scm.com/docs/git-log) .* | [contents](http://pygments.org/) • metadata • [git_blame](https://git-scm.com/docs/git-blame) • [git_log](https://git-scm.com/docs/git-log)
.py | [python_syntax](https://en.wikipedia.org/wiki/Python_syntax_and_semantics) • [python_unittests](https://docs.python.org/3/library/unittest.html) • [pydoc](https://docs.python.org/3/library/pydoc.html) • [mypy](http://www.mypy-lang.org/) • [python_coverage](http://nedbatchelder.com/code/coverage/) • [pycodestyle](https://pypi.python.org/pypi/pycodestyle) • [pydocstyle](http://pydocstyle.readthedocs.org/) • [pyflakes](https://launchpad.net/pyflakes) • [pylint](http://www.pylint.org/) • [python_gut](https://github.com/ahamilton/vigil/blob/master/gut.py) • [python_modulefinder](https://docs.python.org/3/library/modulefinder.html) • [dis](https://docs.python.org/3/library/dis.html) • [python_mccabe](https://github.com/flintwork/mccabe) • [bandit](https://wiki.openstack.org/wiki/Security/Projects/Bandit) .py | [python_syntax](https://en.wikipedia.org/wiki/Python_syntax_and_semantics) • [python_unittests](https://docs.python.org/3/library/unittest.html) • [pydoc](https://docs.python.org/3/library/pydoc.html) • [mypy](http://www.mypy-lang.org/) • [python_coverage](http://nedbatchelder.com/code/coverage/) • [pycodestyle](https://pypi.python.org/pypi/pycodestyle) • [pydocstyle](http://pydocstyle.readthedocs.org/) • [pyflakes](https://launchpad.net/pyflakes) • [pylint](http://www.pylint.org/) • [python_gut](https://github.com/ahamilton/vigil/blob/master/gut.py) • [python_modulefinder](https://docs.python.org/3/library/modulefinder.html) • [dis](https://docs.python.org/3/library/dis.html) • [python_mccabe](https://github.com/flintwork/mccabe) • [bandit](https://wiki.openstack.org/wiki/Security/Projects/Bandit)
@ -45,3 +45,4 @@ Extensions(41) | Tools(48)
.go | [gofmt](https://golang.org) • [go_vet](https://golang.org) • [golint](https://github.com/golang/lint) • [godoc](http://golang.org/x/tools) .go | [gofmt](https://golang.org) • [go_vet](https://golang.org) • [golint](https://github.com/golang/lint) • [godoc](http://golang.org/x/tools)
.yaml .yml | [yamllint](https://github.com/adrienverge/yamllint) .yaml .yml | [yamllint](https://github.com/adrienverge/yamllint)
.md .epub .docx .odt .rst | [pandoc](https://pandoc.org/) .md .epub .docx .odt .rst | [pandoc](https://pandoc.org/)
.mkv .mka .mks .ogg .ogm .avi .wav .mpeg .mpg .vob .mp4 .mpgv .mpv .m1v .m2v .mp2 .mp3 .asf .wma .wmv .qt .mov .rm .rmvb .ra .ifo .ac3 .dts .aac .flac .aiff .aifc .au .iff | [mediainfo](https://mediaarea.net/MediaInfo)

View file

@ -22,7 +22,12 @@ tools_for_extensions = [
[["bash", "sh", "dash", "ksh"], ["shellcheck"]], [["bash", "sh", "dash", "ksh"], ["shellcheck"]],
[["go"], ["gofmt", "go_vet", "golint", "godoc"]], [["go"], ["gofmt", "go_vet", "golint", "godoc"]],
[["yaml", "yml"], ["yamllint"]], [["yaml", "yml"], ["yamllint"]],
[["md", "epub", "docx", "odt", "rst"], ["pandoc"]]] [["md", "epub", "docx", "odt", "rst"], ["pandoc"]],
[["mkv", "mka", "mks", "ogg", "ogm", "avi", "wav", "mpeg", "mpg", "vob",
"mp4", "mpgv", "mpv", "m1v", "m2v", "mp2", "mp3", "asf", "wma", "wmv",
"qt", "mov", "rm", "rmvb", "ra", "ifo", "ac3", "dts", "aac", "flac",
"aiff", "aifc", "au", "iff"], ["mediainfo"]],
]
# Tool template: # Tool template:
@ -140,3 +145,9 @@ tools_for_extensions = [
dependencies = ["yamllint"] dependencies = ["yamllint"]
url = "yamllint" url = "yamllint"
command = "yamllint" command = "yamllint"
[mediainfo]
dependencies = ["mediainfo"]
url = "mediainfo"
command = "mediainfo"
success_status = "normal"