From 8956229ee46c187a5a1eb63c834219d0e9b84b83 Mon Sep 17 00:00:00 2001 From: Ricardo Constantino Date: Sat, 15 Oct 2016 13:58:52 +0100 Subject: osc: fix chapter/playlist listing if empty --- player/lua/osc.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/player/lua/osc.lua b/player/lua/osc.lua index 6d5eca5a9d..9b2d0c65ad 100644 --- a/player/lua/osc.lua +++ b/player/lua/osc.lua @@ -658,7 +658,7 @@ function limited_list(prop, pos) local proplist = mp.get_property_native(prop, {}) local count = #proplist if (count == 0) then - return proplist + return count, proplist end local min, max = 0, count local temp = {} -- cgit v1.2.3