mirror of
https://github.com/mpv-player/mpv
synced 2025-03-11 08:37:59 +00:00
stats: always print title if different from filename
This commit is contained in:
parent
c387b1db6f
commit
8db09be51a
@ -91,7 +91,9 @@ function add_file(s)
|
||||
s[sec] = ""
|
||||
|
||||
append_property(s, sec, "filename", {prefix="File:", nl="", indent=""})
|
||||
append_property(s, sec, "metadata/title", {prefix="Title:"})
|
||||
if not (mp.get_property_osd("filename") == mp.get_property_osd("media-title")) then
|
||||
append_property(s, sec, "media-title", {prefix="Title:"})
|
||||
end
|
||||
append_property(s, sec, "chapter", {prefix="Chapter:"})
|
||||
if append_property(s, sec, "cache-used", {prefix="Cache:"}) then
|
||||
append_property(s, sec, "demuxer-cache-duration",
|
||||
|
Loading…
Reference in New Issue
Block a user