Show the same flags in loadfile.c, select.lua and stats.lua. The only differences are that only stats.lua prints both image and albumart because it's supposed to show detailed track information, and select.lua prints the image flag because pressing g-v doesn't show Video or Image like in loadfile.c and stats.lua.
Showing the changes to player/lua/stats.lua (1 of 3 files). Show all
Unified · Split
| @@ -1227,8 +1227,8 @@ local function add_track(c, t, i) · 1226 unmodified lines | |||
| 1227 | append(c, t["ff-index"], {prefix="FFmpeg Index:", nl="", indent=o.prefix_sep .. o.prefix_sep}) | 1227 | append(c, t["ff-index"], {prefix="FFmpeg Index:", nl="", indent=o.prefix_sep .. o.prefix_sep}) |
| 1228 | append(c, t["external-filename"], {prefix="File:"}) | 1228 | append(c, t["external-filename"], {prefix="File:"}) |
| 1229 | append(c, "", {prefix="Flags:"}) | 1229 | append(c, "", {prefix="Flags:"}) |
| 1230 | local flags = {"default", "forced", "external", "dependent", | 1230 | local flags = {"default", "forced", "dependent", "visual-impaired", |
| 1231 | "hearing-impaired", "visual-impaired", "image", "albumart"} | 1231 | "hearing-impaired", "image", "albumart", "external"} |
| 1232 | local any = false | 1232 | local any = false |
| 1233 | for _, flag in ipairs(flags) do | 1233 | for _, flag in ipairs(flags) do |
| 1234 | if t[flag] then | 1234 | if t[flag] then |