From b8926dd4840d3612065c75d51a2f6b0fd96936fa Mon Sep 17 00:00:00 2001 From: "Avi Halachmi (:avih)" Date: Thu, 25 Nov 2021 10:19:34 +0200 Subject: 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 --- DOCS/man/osc.rst | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'DOCS') 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 ~~~~~~~~~~~~~~~ -- cgit v1.2.3