mirror of
https://github.com/mpv-player/mpv.git
synced 2025-12-25 12:20:20 +00:00
osc.lua: bind middle clicking play pause to cycle loop-playlist
This commit is contained in:
committed by
Kacper Michajłow
parent
06fe665b78
commit
3f084477ad
@@ -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``
|
||||
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user