ytdl_hook.lua: convert metadata values to string

Fixes https://github.com/mpv-player/mpv/pull/17805#issuecomment-4340090625
This commit is contained in:
Guido Cella authored and Kacper Michajłow committed 2026-04-29 11:32:19 +02:00
1 parent 8cc65c838e
commit 0a0c63d3e9
1 file changed
+1 -1
+1 -1
View File
@@ -680,7 +680,7 @@ local function add_single_video(json)
for json_name, mp_name in pairs(tag_list) do
if json[json_name] then
metadata[mp_name] = json[json_name]
metadata[mp_name] = tostring(json[json_name])
end
end
end