[vlc-devel] Re: problem in http interface

digi_casi at freenet.de digi_casi at freenet.de
Wed Aug 17 12:56:29 CEST 2005


yep, i'd like to support that request... at the moment the http interface is nearly not useable.
----- original Nachricht --------

Betreff: [vlc-devel] problem in http interface
Gesendet: Mo 15 Aug 2005 23:26:13 CEST
Von: "Marco Munderloh"<Marco.Munderloh at web.de>

> Hi,
> 
> i would like to mention a problem in the http interface
> (modules/control/http.c). If ?control=play is called without an item
> specified, nothing is played. I would prefer to play at least the first
> (or next) item in the playlist.
> 
> The current behaviour makes the usage a lot mor coplicate and breaks the
> functionality of a lot of programs using vlc (dbox neutrino movieplayer
> for example).
> 
> Maybe it could be done something like this (don't no if this works):
> 
> 2076: uri_extract_value( p_request, "item", item, 512 );
> 2077: i_item = atoi( item );
> 2078: playlist_Control( p_sys->p_playlist, PLAYLIST_ITEMPLAY,
> 2079:                   i_item ? playlist_ItemGetById (
> p_sys->p_playlist, i_item )
> 2080:                   : playlist_ItemGetByPos( p_sys->p_playlist, 0 ) );
> 2081: msg_Dbg( p_intf, "requested playlist item: %i", i_item );
> 
> CU Marco
> 
> -- 
> This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
> To unsubscribe, please read http://developers.videolan.org/lists.html
> 
> 

--- original Nachricht Ende ----










-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html



More information about the vlc-devel mailing list