mirror of
https://github.com/mpv-player/mpv
synced 2025-01-11 17:39:38 +00:00
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.
This commit is contained in:
parent
dc82921012
commit
c68b813678
@ -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 .. " "
|
||||
|
Loading…
Reference in New Issue
Block a user