| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
Print it to console and especially OSD upon each invocation
|
|
|
|
| |
More useful names
|
|
|
|
|
|
|
|
|
|
|
|
| |
You can now either show the stats once or toggle their display. Both are
using different key bindings which are additionally configurable now.
Please bear in mind that "toggling" means "redraw every x seconds for x
seconds". Therefore, this approach is prone to problems especially when
something else is printing text to the OSD as well as every of these
calls will overwrite each other. This is currently a limitation of mpv.
Fixes #18
|
|
|
|
|
| |
Fallback to hwdec-active if not available. This one will be removed in
mpv 0.19.0.
|
| |
|
|
|
|
| |
It's getting a bit cramped
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
These spaces were not displayed on screen, however they were taken into
account for line wrapping.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
This simply prints ASCII codes to display any text marked as bold in the
terminal. Supported by every sane terminal since 1986. For those insane,
there's a check. The check has been copied from the ansicolors.lua
script floating around and it checks if the directory path uses "\"
instead of "/", and in case it does, it checks whether ANSICON env
variable has been set (which is used to indicate the Windows terminal
supports ACII escape sequences).
|
| |
|
|
|
|
| |
feels a bit better that way
|
| |
|
|
|
|
| |
this one slipped through my "tests"
|
|
|
|
|
|
|
|
|
| |
Unify both append_property* functions and greatly refactor them.
Instead of thousands of arguments we now use a table.
While this is in theory cleaner it does not exactly look like it.
However, it's way more flexible and extendable this way.
Also, since the new append_property() might look a bit confusing
I felt the need to add a comment.
|
|
|
|
| |
and comment nitpicking
|
|
|
|
| |
print a warning for properties without value
|
|
|
|
|
|
| |
Some properties were renamed recently.
Of course this requires a recent mpv built (>
https://github.com/mpv-player/mpv/commit/f9507f) now.
|
|
|
|
|
| |
Previously we unnecessarily added newline characters at the end.
Only noticeable when printed on terminal, though.
|
|
|
|
|
| |
Also add a few convenience functions and remove the unused italic and
underlined formatting functions.
|
|
|
|
|
|
|
|
|
|
|
|
| |
Previously, the script would throw garbage (ASS tags) at the terminal
when the bound key was pressed. This changes the behaviour to _not_
print any ASS tags (and replace those which can be interpreted by the
terminal) if there's no video.
I cleaned the patch up since you mentioned you were busy. As I said
before, there is absolutely no problem with calling mpv to display
strings to the OSD without any video. They'll just go straight to the
terminal just as they would with an active VO.
|
| |
|
|
|