From 4f689258cbb6900980faa99affbd4a43250bdbe2 Mon Sep 17 00:00:00 2001 From: ChrisK2 Date: Wed, 9 Apr 2014 18:10:51 +0200 Subject: [PATCH] osc: fix playlist display --- player/lua/osc.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/player/lua/osc.lua b/player/lua/osc.lua index d590314610..da07e43456 100644 --- a/player/lua/osc.lua +++ b/player/lua/osc.lua @@ -756,13 +756,13 @@ function osc_init() -- playlist prev local eventresponder = {} eventresponder.mouse_btn0_up = function () mp.commandv("playlist_prev", "weak") end - eventresponder["shift+mouse_btn0_up"] = function () show_message(mp.get_property("playlist"), 3) end + eventresponder["shift+mouse_btn0_up"] = function () show_message(mp.get_property_osd("playlist"), 3) end register_button(posX - pos_offsetX, titlerowY, 7, 12, 12, osc_styles.vidtitle, "◀", eventresponder, metainfo) -- playlist next local eventresponder = {} eventresponder.mouse_btn0_up = function () mp.commandv("playlist_next", "weak") end - eventresponder["shift+mouse_btn0_up"] = function () show_message(mp.get_property("playlist"), 3) end + eventresponder["shift+mouse_btn0_up"] = function () show_message(mp.get_property_osd("playlist"), 3) end register_button(posX + pos_offsetX, titlerowY, 9, 12, 12, osc_styles.vidtitle, "▶", eventresponder, metainfo) --