diff options
author | wm4 <wm4@nowhere> | 2014-03-17 18:26:56 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-03-17 18:26:56 +0100 |
commit | 637664d95ad5e2ad72b91998dc4685bf0fe6cdeb (patch) | |
tree | 86845d85012850a58b213c7f4046b4a855dd5a2a /player/lua | |
parent | 422af1b948135e422a13e5d58bef32e4ee38f172 (diff) | |
download | mpv-637664d95ad5e2ad72b91998dc4685bf0fe6cdeb.tar.bz2 mpv-637664d95ad5e2ad72b91998dc4685bf0fe6cdeb.tar.xz |
command, lua: change script_message semantics
Change script_message to broadcast the message to all clients. Add a new
script_message_to command, which does what the old script_message
command did.
This is intended as simplification, although it might lead to chaos too.
Diffstat (limited to 'player/lua')
-rw-r--r-- | player/lua/defaults.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/player/lua/defaults.lua b/player/lua/defaults.lua index bd9af08f7c..fbc09d48a3 100644 --- a/player/lua/defaults.lua +++ b/player/lua/defaults.lua @@ -103,7 +103,7 @@ local function update_key_bindings() local cfg = "" for k, v in pairs(key_bindings) do if v.forced ~= def then - cfg = cfg .. v.key .. " script_message " .. mp.script_name + cfg = cfg .. v.key .. " script_message_to " .. mp.script_name .. " " .. v.name .. "\n" end end |