]> git.sesse.net Git - vlc/commitdiff
RC: try the vlm commands later in the process
authorJean-Baptiste Kempf <jb@videolan.org>
Sun, 2 Oct 2011 22:20:50 +0000 (00:20 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Sun, 2 Oct 2011 22:20:50 +0000 (00:20 +0200)
Works-around #5396

share/lua/intf/cli.lua

index b8a0b7aea1725bd6f4789d7e4eff2d213573d52d..c42d632ed881b0b81da2bbf8c08a21ab7f531cd2 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