]> git.sesse.net Git - vlc/commitdiff
Revert "RC: try the vlm commands later in the process"
authorPierre Ynard <linkfanel@yahoo.fr>
Sun, 16 Oct 2011 16:08:43 +0000 (18:08 +0200)
committerPierre Ynard <linkfanel@yahoo.fr>
Sun, 16 Oct 2011 16:08:43 +0000 (18:08 +0200)
This reverts commit d570f62ed93dd45253ad1a646d43acc58a733a8c.
It causes more spurious messages than not.

share/lua/intf/cli.lua

index c42d632ed881b0b81da2bbf8c08a21ab7f531cd2..b8a0b7aea1725bd6f4789d7e4eff2d213573d52d 100644 (file)
@@ -697,11 +697,11 @@ function client_command( client )
     elseif string.sub(cmd,0,1)=='@'
     and call_object_command(string.sub(cmd,2,#cmd),client,arg) == 0 then
         --
+    elseif call_vlm_command(cmd,client,arg) == 0 then
+        --
     elseif client.type == host.client_type.stdio
     and call_libvlc_command(cmd,client,arg) == 0 then
         --
-    elseif call_vlm_command(cmd,client,arg) == 0 then
-        --
     else
         local choices = {}
         if client.env.autocompletion ~= 0 then