diff options
author | Avi Halachmi (:avih) <avihpit@yahoo.com> | 2021-11-25 10:19:34 +0200 |
---|---|---|
committer | avih <avih@users.noreply.github.com> | 2021-11-25 21:20:48 +0200 |
commit | b8926dd4840d3612065c75d51a2f6b0fd96936fa (patch) | |
tree | 0ef8d589aeaa8ff2c22bca4814929b1cb7a733bb /DOCS | |
parent | 1ab9119817d43568b0748238a64ae0772667d229 (diff) | |
download | mpv-b8926dd4840d3612065c75d51a2f6b0fd96936fa.tar.bz2 mpv-b8926dd4840d3612065c75d51a2f6b0fd96936fa.tar.xz |
osc: add options: chapters/playlist OSD, hover chapter format
Previously OSD was always displayed on {ch,pl}_{next,prev} left-click,
and seekbar-hover-chapter was always enabled and with fixed format.
Now it can be controlled with:
- chapters_osd, playlist_osd: yes/no (only affects left-click).
- chapter_fmt: lua string.format template, or "no" to disable.
Fixes #4675
Diffstat (limited to 'DOCS')
-rw-r--r-- | DOCS/man/osc.rst | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/DOCS/man/osc.rst b/DOCS/man/osc.rst index 71af9d2de8..c375c3075d 100644 --- a/DOCS/man/osc.rst +++ b/DOCS/man/osc.rst @@ -382,6 +382,20 @@ Configurable Options Update chapter markers positions on duration changes, e.g. live streams. The updates are unoptimized - consider disabling it on very low-end systems. +``chapters_osd``, ``playlist_osd`` + Default: yes + + Whether to display the chapters/playlist at the OSD when left-clicking the + next/previous OSC buttons, respectively. + +``chapter_fmt`` + Default: ``Chapter: %s`` + + Template for the chapter-name display when hovering the seekbar. + Use ``no`` to disable chapter display on hover. Otherwise it's a lua + ``string.format`` template and ``%s`` is replaced with the actual name. + + Script Commands ~~~~~~~~~~~~~~~ |