ytdl_hook.lua: convert metadata values to string
Fixes https://github.com/mpv-player/mpv/pull/17805#issuecomment-4340090625
This commit is contained in:
1 parent
8cc65c838e
commit
0a0c63d3e9
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user