From c68b8136782ab914c95932b1c0d38a8230bbb628 Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 21 Feb 2020 22:23:17 +0100 Subject: 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. --- player/lua/ytdl_hook.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'player') 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 .. " " -- cgit v1.2.3