[vlc-devel] Bugg in http interface to VLC
    Christian 
    cmasus at kth.se
       
    Sun May 30 20:15:37 CEST 2010
    
    
  
Hi
There has been a bug for a while in the standard VLC http interface. As I  
understand it VLC_OBJECT_VLC was replaced with VLC_OBJECT_LIBVLC. But that  
change wasn't made for the http interface.
So, can someone please commit a change on the file [dir to  
vlc]/http/requests/status.xml
Here is the diff between the old and the fixed version:
diff status.xml status.xml.old
104c104
<     <vlc id="rpn" param1="'key-' val value strcat vlc_config_get  
key-pressed 'VLC_OBJECT_LIBVLC' vlc_var_set" />
---
>     <vlc id="rpn" param1="'key-' val value strcat 'VLC_OBJECT_VLC'  
> vlc_var_get key-pressed 'VLC_OBJECT_VLC' vlc_var_set" />
And with context output format:
diff -c status.xml status.xml.old
*** status.xml	2010-05-25 19:20:06.098078705 +0200
--- status.xml.old	2010-05-25 19:18:41.440079120 +0200
***************
*** 101,107 ****
       <vlc id="rpn" param1="val value vlc_seek" />
     <vlc id="end"/>
     <vlc id="if" param1="command value 'key' strcmp 0 =" />
!     <vlc id="rpn" param1="'key-' val value strcat vlc_config_get  
key-pressed 'VLC_OBJECT_LIBVLC' vlc_var_set" />
     <vlc id="end"/>
   <vlc id="end" />
--- 101,107 ----
       <vlc id="rpn" param1="val value vlc_seek" />
     <vlc id="end"/>
     <vlc id="if" param1="command value 'key' strcmp 0 =" />
!     <vlc id="rpn" param1="'key-' val value strcat 'VLC_OBJECT_VLC'  
vlc_var_get key-pressed 'VLC_OBJECT_VLC' vlc_var_set" />
     <vlc id="end"/>
   <vlc id="end" />
I am developing a remote for VLC using this interface. So I would this  
functionallity to be available for everyone.
Can someone please commit this change? I have tested the change in both  
linux and windows and it works fine. Can someone also confirm to me that  
this change has been comited
    
    
More information about the vlc-devel
mailing list