History

various: sync shown track flags

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.

Guido Cella committed 2 years ago

Commit 7bcd5251 parent 2fd88ff3 files · +27 −9Browse files

Showing the changes to player/lua/stats.lua (1 of 3 files). Show all

Unified · Split

player/lua/stats.lua+2−2
@@ -1227,8 +1227,8 @@ local function add_track(c, t, i) · 1226 unmodified lines
12271227 append(c, t["ff-index"], {prefix="FFmpeg Index:", nl="", indent=o.prefix_sep .. o.prefix_sep})
12281228 append(c, t["external-filename"], {prefix="File:"})
12291229 append(c, "", {prefix="Flags:"})
1230− local flags = {"default", "forced", "external", "dependent",
1231− "hearing-impaired", "visual-impaired", "image", "albumart"}
1230+ local flags = {"default", "forced", "dependent", "visual-impaired",
1231+ "hearing-impaired", "image", "albumart", "external"}
12321232 local any = false
12331233 for _, flag in ipairs(flags) do
12341234 if t[flag] then

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t