aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar wm4 <wm4@nowhere>2015-05-23 15:15:16 +0200
committerGravatar wm4 <wm4@nowhere>2015-05-23 15:15:16 +0200
commita3f8d45fb6f70cc9d07105eeee8c843b9109bca6 (patch)
tree840d49ec41e754eb38135785189c688537a59927
parentfa7b22c687f5b44e3cc0bcf4dd4413c35e2b6fd6 (diff)
ytdl: do not use deprecated option
This was missed in commit 450af053.
-rw-r--r--player/lua/ytdl_hook.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/player/lua/ytdl_hook.lua b/player/lua/ytdl_hook.lua
index 225c36364e..bcbb536426 100644
--- a/player/lua/ytdl_hook.lua
+++ b/player/lua/ytdl_hook.lua
@@ -234,7 +234,7 @@ mp.add_hook("on_load", 10, function ()
mp.set_property("stream-open-filename", streamurl)
- mp.set_property("file-local-options/media-title", json.title)
+ mp.set_property("file-local-options/force-media-title", json.title)
-- add subtitles
if not (json.requested_subtitles == nil) then