From 27a09b42ed04ecd73215ab73ac146b287c3fd9f6 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 5 Jan 2019 08:45:10 +0100 Subject: ytdl_hook: disable EDL-generated useless chapters when merging streams (Yes, a bit odd how this header is needed only for the first stream.) --- player/lua/ytdl_hook.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'player/lua/ytdl_hook.lua') diff --git a/player/lua/ytdl_hook.lua b/player/lua/ytdl_hook.lua index fc144ee33f..7a6bb170c6 100644 --- a/player/lua/ytdl_hook.lua +++ b/player/lua/ytdl_hook.lua @@ -327,7 +327,8 @@ local function add_single_video(json) for i = 1, #streams do streams[i] = edl_escape(streams[i]) end - streamurl = "edl://" .. table.concat(streams, ";!new_stream;") .. ";" + streamurl = "edl://!no_chapters;" .. + table.concat(streams, ";!new_stream;") .. ";" else streamurl = streams[1] end -- cgit v1.2.3