From b80e4e46a3e04c0aa4fea84ff57c11551772c4de Mon Sep 17 00:00:00 2001 From: Matthias Hunstock Date: Fri, 25 Sep 2020 22:32:27 +0200 Subject: [PATCH] osc: show left arrow when paused while playing backwards Use existing glyph for playlist buttons to show a triangle pointing left if playback is stopped with a backward playback direction. --- player/lua/osc.lua | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/player/lua/osc.lua b/player/lua/osc.lua index fe2838fecf..3be72ece5b 100644 --- a/player/lua/osc.lua +++ b/player/lua/osc.lua @@ -1878,7 +1878,11 @@ function osc_init() ne.content = function () if mp.get_property("pause") == "yes" then - return ("\238\132\129") + if mp.get_property("play-direction", "forward") ~= "backward" then + return ("\238\132\129") + else + return ("\238\132\144") + end else return ("\238\128\130") end