aboutsummaryrefslogtreecommitdiffhomepage
path: root/TOOLS
Commit message (Collapse)AuthorAge
* TOOLS/lua: update README.mdGravatar Kevin Mitchell2014-10-21
|
* TOOLS/lua: remove tabs from some lua scriptsGravatar Kevin Mitchell2014-10-21
|
* TOOLS/lua: add autodeint.luaGravatar Kevin Mitchell2014-10-21
| | | | | | | This isn't quite as robust as idet.sh as the default detection interval is only 4 seconds vs 35 for idet.sh. idet.sh can have such a large sample time since it turns off the vo and uses --untimed, which is currently not possible from lua.
* TOOLS/vf_dlopen/ildetect.sh: remove duplicated assigmentGravatar shdown2014-10-16
|
* TOOLS/umpv: drop unnecessary checkGravatar wm42014-09-24
| | | | | This was supposed to make sure that argv[1:] does not fail, but Python actually allows mismatching bounds for slicing.
* TOOLS/umpv: use python octal notationGravatar shdown2014-09-24
|
* TOOLS/mpv_identify.sh: remove pointless escapeGravatar shdown2014-09-24
|
* TOOLS/idet.sh: add descriptionGravatar shdown2014-09-24
| | | | | | Just a copy of c0cd58e3f5b1daff58ad5ca48b964a2b1fb86d6d commit message (with a small fix: ildetect.sh+ildetect.so, not ildetect.sh+ildetect.sh).
* TOOLS/idet.sh: remove unused and duplicated assignmentsGravatar shdown2014-09-24
|
* TOOLS: idet: remove extra '$' in $(()) expansionGravatar Ben Boeckel2014-09-21
|
* TOOLS/umpv: make URL detection consistent with mpv methodGravatar shdown2014-09-20
| | | | See mp_is_url in options/path.c.
* TOOLS/umpv: print error message to stderrGravatar shdown2014-09-20
|
* TOOLS/umpv: use MPV environment variable, not UMPV_OPTIONSGravatar shdown2014-09-20
| | | | Just like the rest of TOOLS/*.sh scripts.
* TOOLS/idet.sh: Handle the case of multiple Parsed_idet_0: output lines.Gravatar Rudolf Polzer2014-09-17
| | | | This seems to happen frequently now. It is handled by adding their values.
* TOOLS: eliminate echoes with variable substitutionsGravatar shdown2014-09-17
| | | | | echo behaviour with backslash escapes seems to be non-portable: dash does expand such an escapes and bash does not, so use cat/printf instead.
* TOOLS/mpv_identify.sh: simplify line-by-line readingGravatar shdown2014-09-16
| | | | Use here-document idiom to read mpv output line-by-line.
* TOOLS/mpv_identify.sh: mark as executableGravatar wm42014-09-16
|
* TOOLS: idet: use quotes for the verdict valueGravatar Ben Boeckel2014-09-16
| | | | | ShellCheck warns about "vara-varb" about not being in $(()), but we actually want the literal string, so quote it. Also fix a typo.
* TOOLS: shellcheck: quote variable expansionsGravatar Ben Boeckel2014-09-16
|
* TOOLS: shellcheck: remove '$' on variables in $(()) expansionGravatar Ben Boeckel2014-09-16
|
* TOOLS, version.sh: shellcheck: replace `cmd` with $(cmd)Gravatar Ben Boeckel2014-09-16
| | | | Signed-off-by: wm4 <wm4@nowhere>
* TOOLS: idet: remove unused codeGravatar Ben Boeckel2014-09-16
|
* TOOLS/zsh.pl: complete options that take file namesGravatar Philip Sequeira2014-09-13
|
* malloc+memset(0) to callocGravatar Bruno George de Moraes2014-09-05
| | | | Signed-off-by: wm4 <wm4@nowhere>
* video: initial Matroska 3D supportGravatar wm42014-08-30
| | | | | | | | | | | | | | | | | | | | | This inserts an automatic conversion filter if a Matroska file is marked as 3D (StereoMode element). The basic idea is similar to video rotation and colorspace handling: the 3D mode is added as a property to the video params. Depending on this property, a video filter can be inserted. As of this commit, extending mp_image_params is actually completely unnecessary - but the idea is that it will make it easier to integrate with VOs supporting stereo 3D mogrification. Although vo_opengl does support some stereo rendering, it didn't support the mode my sample file used, so I'll leave that part for later. Not that most mappings from Matroska mode to vf_stereo3d mode are probably wrong, and some are missing. Assuming that Matroska modes, and vf_stereo3d in modes, and out modes are all the same might be an oversimplification - we'll see. See issue #1045.
* TOOLS/mpv_identify.sh: simplify $MPV handlingGravatar shdown2014-08-30
|
* TOOLS/mpv_identify.sh: various style improvementsGravatar shdown2014-08-30
| | | | | Double-quote everything, eliminate unneeded evals and deprecated `backtits` substitution syntax.
* TOOLS/mpv_identify.sh: move script body to a functionGravatar shdown2014-08-30
| | | | | Don't prepend each variable with __midentify__, just make them local to the function.
* TOOLS/youtube-dl_mpv.sh: simplify $MPV handlingGravatar shdown2014-08-30
|
* TOOLS/youtube-dl_mpv.sh: disable globbing before expanding $video_urlGravatar shdown2014-08-30
| | | | | $video_url can contain a question mark, which can be expanded to a character in an existing file name if globbing is enabled.
* TOOLS/youtube-dl_mpv: allow playing multiple URLsGravatar wm42014-08-29
| | | | | Unfortunately this also means you can't pass extra mpv options after the URL anymore. You can prefix the script with MPV='mpv --options' though.
* TOOLS: youtube wrapper: allow overriding mpv binaryGravatar wm42014-08-26
|
* TOOLS/stats-conv.py: improvementsGravatar wm42014-08-19
| | | | This is still pretty useful for debugging timing-dependent things.
* TOOLS/zsh.pl: protect global environmentGravatar Philip Sequeira2014-08-17
|
* TOOLS/zsh.pl: fix a ret that hadn't been changed to rcGravatar Philip Sequeira2014-08-17
|
* TOOLS/zsh.pl: complete profilesGravatar Philip Sequeira2014-08-17
| | | | Implemented in shell, because it has to be done at runtime.
* TOOLS/zsh.pl: properly set the return valueGravatar Alessandro Ghedini2014-08-13
| | | | | | The previous commit made the completion script always return non-zero, even when a match is found. This explicitly sets the return value to zero whenever a match is found but defaults to non-zero in case nothing is matched.
* TOOLS/zsh.pl: properly return non-zero when no matches are foundGravatar c_142014-08-13
| | | | | | | | Returning a non-zero value signals to the zsh completion system that no matches were added by the script so that it can try the user-defined matchers (e.g. those defined with matcher-list). Fixes #1008.
* Move status-line.luaGravatar wm42014-08-11
| | | | | Looks like TOOLS/lua/ is now established as dumping ground for random Lua scripts, so DOCS/lua_examples/ is not needed anymore.
* TOOLS: add test script for property change notificationsGravatar wm42014-08-02
|
* idet.sh: Fix a typo.Gravatar Rudolf Polzer2014-07-16
|
* osxbundle: fix detection of user librariesGravatar Tsukasa OMOTO2014-07-16
| | | | | Previous code would detect for example `libcaca.0.dylib` as a system library, because it matched the `libc` condition.
* idet.sh: Fix telecine detection.Gravatar Rudolf Polzer2014-07-15
|
* OS X bundle: Add more imported UTIGravatar Nyx0uf2014-07-04
| | | Not that there are widely used formats, but it will allow to play them directly from the Finder.
* TOOLS/zsh.pl: complete URL schemes based on --list-protocolsGravatar Alessandro Ghedini2014-07-03
|
* TOOLS/zsh.pl: sort options in reverse order by lengthGravatar Alessandro Ghedini2014-07-03
| | | | | This stops options that are prefixes of other options from blocking completion of values for the longer ones.
* TOOLS/zsh.pl: untabifyGravatar Philip Sequeira2014-07-03
|
* TOOLS/zsh.pl: fix _arguments lineGravatar Philip Sequeira2014-07-03
| | | | | | | | | Don't use _x_arguments, as we don't support X arguments. Get rid of -s, because we don't support multiple single-letter options in one argument. Add -S, because we ignore options after "--".
* TOOLS/zsh.pl: don't consume extra argumentsGravatar Philip Sequeira2014-07-03
| | | | | | | | | | | | Completion now uses "--opt=value" instead of "--opt value". Once the user presses space and starts a new argument, the option just completed is out of the picture, whether or not it was given an argument. This handles options with no arguments or optional arguments much better; previously, completing such an option would effectively disable completion for the next argument. Custom completed options such as "--ao" and friends will no longer claim to consume an extra argument.
* TOOLS/zsh.pl: escape all colons in option descriptionsGravatar Philip Sequeira2014-07-03
|