aboutsummaryrefslogtreecommitdiffhomepage
path: root/player/lua
diff options
context:
space:
mode:
authorGravatar wm4 <wm4@nowhere>2015-05-22 20:03:14 +0200
committerGravatar wm4 <wm4@nowhere>2015-05-22 20:03:14 +0200
commit450af05338fd0ea0ff33e2e03f934d7a4aa5f8fa (patch)
treef072c08db5620b48ccf79fd71749cdfa535d5a2b /player/lua
parentd26803cba00f9ecfe7c1c0914f133e775638183b (diff)
options: rename --media-title option
Conflicts with the property.
Diffstat (limited to 'player/lua')
-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 5e87bc3bc3..225c36364e 100644
--- a/player/lua/ytdl_hook.lua
+++ b/player/lua/ytdl_hook.lua
@@ -176,7 +176,7 @@ mp.add_hook("on_load", 10, function ()
mp.set_property("stream-open-filename", playlist)
if not (json.title == nil) then
- mp.set_property("file-local-options/media-title", json.title)
+ mp.set_property("file-local-options/force-media-title", json.title)
end
else