summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--player/lua/osc.lua20
1 files changed, 16 insertions, 4 deletions
diff --git a/player/lua/osc.lua b/player/lua/osc.lua
index 02b21bf41f..6d5eca5a9d 100644
--- a/player/lua/osc.lua
+++ b/player/lua/osc.lua
@@ -1482,7 +1482,10 @@ function osc_init()
ne.content = "\238\132\144"
ne.visible = have_pl
ne.eventresponder["mouse_btn0_up"] =
- function () mp.commandv("playlist-prev", "weak") end
+ function ()
+ mp.commandv("playlist-prev", "weak")
+ show_message(get_playlist(), 3)
+ end
ne.eventresponder["shift+mouse_btn0_up"] =
function () show_message(get_playlist(), 3) end
ne.eventresponder["mouse_btn2_up"] =
@@ -1494,7 +1497,10 @@ function osc_init()
ne.content = "\238\132\129"
ne.visible = have_pl
ne.eventresponder["mouse_btn0_up"] =
- function () mp.commandv("playlist-next", "weak") end
+ function ()
+ mp.commandv("playlist-next", "weak")
+ show_message(get_playlist(), 3)
+ end
ne.eventresponder["shift+mouse_btn0_up"] =
function () show_message(get_playlist(), 3) end
ne.eventresponder["mouse_btn2_up"] =
@@ -1546,7 +1552,10 @@ function osc_init()
ne.enabled = have_ch
ne.content = "\238\132\132"
ne.eventresponder["mouse_btn0_up"] =
- function () mp.commandv("osd-msg", "add", "chapter", -1) end
+ function ()
+ mp.commandv("add", "chapter", -1)
+ show_message(get_chapterlist(), 3)
+ end
ne.eventresponder["shift+mouse_btn0_up"] =
function () show_message(get_chapterlist(), 3) end
ne.eventresponder["mouse_btn2_up"] =
@@ -1558,7 +1567,10 @@ function osc_init()
ne.enabled = have_ch
ne.content = "\238\132\133"
ne.eventresponder["mouse_btn0_up"] =
- function () mp.commandv("osd-msg", "add", "chapter", 1) end
+ function ()
+ mp.commandv("add", "chapter", 1)
+ show_message(get_chapterlist(), 3)
+ end
ne.eventresponder["shift+mouse_btn0_up"] =
function () show_message(get_chapterlist(), 3) end
ne.eventresponder["mouse_btn2_up"] =