]> git.sesse.net Git - vlc/blobdiff - modules/control/http/rpn.c
rpn.c : vlm_cmd now adds a "vlm_value" variable
[vlc] / modules / control / http / rpn.c
index a16ee78b20681d03d7d8cb3b7bbad9ed243762b5..8b1bef2a95f9eaae4895240b06e598feb1546297 100644 (file)
@@ -1002,6 +1002,9 @@ void E_(EvaluateRPN)( intf_thread_t *p_intf, mvar_t  *vars,
             }
 
             E_(mvar_AppendNewVar)( vars, "vlm_error", psz_error );
+            /* this is kind of a duplicate but we need to have the message
+             * without the command name for the "export" command */
+            E_(mvar_AppendNewVar)( vars, "vlm_value", vlm_answer->psz_value );
             vlm_MessageDelete( vlm_answer );
 
             free( psz_cmd );