History

osc.lua: toggle looping when right clicking playpause

Inspired by ModernX. Closes #5067.

Guido Cella committed 2 years ago

Commit dab5cf41 parent a80f5352 files · +3 −2Browse files

Unified · Split

2 files
  1. DOCS/man/osc.rst +2 −1
  2. player/lua/osc.lua +1 −1
DOCS/man/osc.rst+2−1
@@ -60,6 +60,7 @@ cache · 59 unmodified lines
60play60play
61 ============= ================================================61 ============= ================================================
62 left-click toggle play/pause62 left-click toggle play/pause
63 right-click toggle infinite looping
63 ============= ================================================64 ============= ================================================
64 65
65skip back66skip back
@@ -517,7 +518,7 @@ clicked. ``mbtn_mid`` commands are also triggered with ``shift+mbtn_left``. · 451 unmodified lines
517 518
518``play_pause_mbtn_mid_command=``519``play_pause_mbtn_mid_command=``
519 520
520``play_pause_mbtn_right_command=``521``play_pause_mbtn_right_command=cycle-values loop-file inf no``
521 522
522``chapter_prev_mbtn_left_command=no-osd add chapter -1; show-text ${chapter-list} 3000``523``chapter_prev_mbtn_left_command=no-osd add chapter -1; show-text ${chapter-list} 3000``
523 524
player/lua/osc.lua+1−1
@@ -84,7 +84,7 @@ local user_opts = { · 83 unmodified lines
84 84
85 play_pause_mbtn_left_command = "cycle pause",85 play_pause_mbtn_left_command = "cycle pause",
86 play_pause_mbtn_mid_command = "",86 play_pause_mbtn_mid_command = "",
87 play_pause_mbtn_right_command = "",87 play_pause_mbtn_right_command = "cycle-values loop-file inf no",
88 88
89 chapter_prev_mbtn_left_command = "add chapter -1",89 chapter_prev_mbtn_left_command = "add chapter -1",
90 chapter_prev_mbtn_mid_command = "show-text ${chapter-list} 3000",90 chapter_prev_mbtn_mid_command = "show-text ${chapter-list} 3000",

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t