diff options
author | wm4 <wm4@nowhere> | 2020-02-21 22:23:17 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2020-02-21 22:23:17 +0100 |
commit | c68b8136782ab914c95932b1c0d38a8230bbb628 (patch) | |
tree | 0ab009263bc622e4f3e782b0a48cf807e6f24685 /player/lua/ytdl_hook.lua | |
parent | dc82921012021cb8b9709c3f57c33c6337f55268 (diff) | |
download | mpv-c68b8136782ab914c95932b1c0d38a8230bbb628.tar.bz2 mpv-c68b8136782ab914c95932b1c0d38a8230bbb628.tar.xz |
ytdl_hook: prefer "format" over "format_note" field for track titles
Much more verbose, but on the other hand format_note is useless for the
alphabetic site with fragmented DASH streams.
Diffstat (limited to 'player/lua/ytdl_hook.lua')
-rw-r--r-- | player/lua/ytdl_hook.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/player/lua/ytdl_hook.lua b/player/lua/ytdl_hook.lua index 223e9cb7fc..c388430400 100644 --- a/player/lua/ytdl_hook.lua +++ b/player/lua/ytdl_hook.lua @@ -436,7 +436,7 @@ local function formats_to_edl(json, formats, use_all_formats) break end end - local title = track.format_note or track.format or "" + local title = track.format or track.format_note or "" if #tracks > 1 then if #title > 0 then title = title .. " " |