osc.lua: bind middle clicking play pause to cycle loop-playlist

This commit is contained in:
Guido Cella
2025-01-03 19:38:42 +01:00
committed by Kacper Michajłow
parent 06fe665b78
commit 3f084477ad
2 changed files with 5 additions and 3 deletions

View File

@@ -61,7 +61,9 @@ cache
play
============= ================================================
left-click toggle play/pause
right-click toggle infinite looping
shift+L-click toggle infinite looping of the playlist
middle-click toggle infinite looping of the playlist
right-click toggle infinite looping of the current file
============= ================================================
skip back
@@ -524,7 +526,7 @@ clicked. ``mbtn_mid`` commands are also triggered with ``shift+mbtn_left``.
``play_pause_mbtn_left_command=cycle pause``
``play_pause_mbtn_mid_command=``
``play_pause_mbtn_mid_command=cycle-values loop-playlist inf no``
``play_pause_mbtn_right_command=cycle-values loop-file inf no``

View File

@@ -84,7 +84,7 @@ local user_opts = {
title_mbtn_right_command = "show-text ${path}",
play_pause_mbtn_left_command = "cycle pause",
play_pause_mbtn_mid_command = "",
play_pause_mbtn_mid_command = "cycle-values loop-playlist inf no",
play_pause_mbtn_right_command = "cycle-values loop-file inf no",
chapter_prev_mbtn_left_command = "osd-msg add chapter -1",