osc.lua: don't show the osd-bar on chapter navigation

It is redundant if you're already using the OSC, so only show the
chapter text. Also fix the documented default commands of these buttons
which were outdated.
This commit is contained in:
Guido Cella 2024-10-23 10:30:00 +02:00 committed by Kacper Michajłow
parent 165159fdef
commit f999b0a5c8
2 changed files with 4 additions and 4 deletions

View File

@ -521,13 +521,13 @@ clicked. ``mbtn_mid`` commands are also triggered with ``shift+mbtn_left``.
``play_pause_mbtn_right_command=cycle-values loop-file inf no``
``chapter_prev_mbtn_left_command=no-osd add chapter -1; show-text ${chapter-list} 3000``
``chapter_prev_mbtn_left_command=osd-msg add chapter -1``
``chapter_prev_mbtn_mid_command=show-text ${chapter-list} 3000``
``chapter_prev_mbtn_right_command=script-binding select/select-chapter; script-message-to osc osc-hide``
``chapter_next_mbtn_left_command=no-osd add chapter 1; show-text ${chapter-list} 3000``
``chapter_next_mbtn_left_command=osd-msg add chapter 1``
``chapter_next_mbtn_mid_command=show-text ${chapter-list} 3000``

View File

@ -86,11 +86,11 @@ local user_opts = {
play_pause_mbtn_mid_command = "",
play_pause_mbtn_right_command = "cycle-values loop-file inf no",
chapter_prev_mbtn_left_command = "add chapter -1",
chapter_prev_mbtn_left_command = "osd-msg add chapter -1",
chapter_prev_mbtn_mid_command = "show-text ${chapter-list} 3000",
chapter_prev_mbtn_right_command = "script-binding select/select-chapter; script-message-to osc osc-hide",
chapter_next_mbtn_left_command = "add chapter 1",
chapter_next_mbtn_left_command = "osd-msg add chapter 1",
chapter_next_mbtn_mid_command = "show-text ${chapter-list} 3000",
chapter_next_mbtn_right_command = "script-binding select/select-chapter; script-message-to osc osc-hide",