From c341edda35f104a8ea3faaf67c32b342a70145bc Mon Sep 17 00:00:00 2001 From: ChrisK2 Date: Sat, 26 Oct 2013 11:09:06 +0200 Subject: osc: display cache status only below 45% Turnes out, when playing stuff over WiFi, the cache may go below 48% quite frequently. --- mpvcore/lua/osc.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mpvcore/lua/osc.lua b/mpvcore/lua/osc.lua index 6d523e9250..f105d10a9c 100644 --- a/mpvcore/lua/osc.lua +++ b/mpvcore/lua/osc.lua @@ -1004,7 +1004,7 @@ function osc_init() local cache = mp.property_get("cache") if not (cache == nil) then cache = tonumber(mp.property_get("cache")) - if (cache < 48) then + if (cache < 45) then ass:append("Cache: " .. (cache) .."%") end end -- cgit v1.2.3