From 9f6147a56f85533d7ba09e529356197136d43b19 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 22 Sep 2018 11:35:32 +0200 Subject: [PATCH] stats: show file format Useful in particular with ytdl, where you never know what you get. --- player/lua/stats.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/player/lua/stats.lua b/player/lua/stats.lua index 6ee491baf4..95a036d5c4 100644 --- a/player/lua/stats.lua +++ b/player/lua/stats.lua @@ -430,6 +430,8 @@ local function add_file(s) append_property(s, "media-title", {prefix="Title:"}) end + append_property(s, "file-format", {prefix="Format/Protocol:"}) + local ch_index = mp.get_property_number("chapter") if ch_index and ch_index >= 0 then append_property(s, "chapter-list/" .. tostring(ch_index) .. "/title", {prefix="Chapter:"})