]> git.sesse.net Git - vlc/commitdiff
* configure.ac: -> 0.7.2-cvs
authorLaurent Aimar <fenrir@videolan.org>
Wed, 3 Mar 2004 14:22:47 +0000 (14:22 +0000)
committerLaurent Aimar <fenrir@videolan.org>
Wed, 3 Mar 2004 14:22:47 +0000 (14:22 +0000)
 * modules/control/http.c: added a playlist.uri field.

configure.ac
doc/intf-http.txt
modules/control/http.c
share/http/index.html

index e83af6ac364daa2960a51c40187d3408c5624e9e..3e836181670ceecd7c1b8d37949a02fde3ac04b0 100644 (file)
@@ -1,7 +1,7 @@
 dnl Autoconf settings for vlc
-dnl $Id: configure.ac,v 1.188 2004/03/03 13:24:31 fenrir Exp $
+dnl $Id: configure.ac,v 1.189 2004/03/03 14:22:47 fenrir Exp $
 
-AC_INIT(vlc,0.7.1)
+AC_INIT(vlc,0.7.2-cvs)
 
 CONFIGURE_LINE="$0 $*"
 CODENAME="Bond"
@@ -13,7 +13,7 @@ AC_CANONICAL_SYSTEM
 
 dnl XXX: we don't put any flags here, because automake 1.5 doesn't support
 dnl them. And we need the comma otherwize automake will choke on it.
-AM_INIT_AUTOMAKE(vlc,0.7.1)
+AM_INIT_AUTOMAKE(vlc,0.7.2-cvs)
 AM_CONFIG_HEADER(config.h)
 
 dnl
index a4954ef872efc700baa67f6d5fc43825c87cf429..f94dfe8e1f55e35535b81b0b495b2e07e68f31f3 100644 (file)
@@ -324,7 +324,8 @@ variable will be displayed (instead of it name).
             - current : 1 if currently selected else 0
             - index   : the index value (to be used for example for the 
                         "delete" control command.
-            - name
+            - name    : the name of the item (it is equal to uri most of the time).
+            - uri     : the URI of the item
             - group   : the group number
 
         - "informations"  : Create informations for  the current playing
index 387f7c5c28d63e5054b75865de8391af03572e4c..d66426630b6eb1e2563203b8b803dcb9fe64158c 100644 (file)
@@ -2,7 +2,7 @@
  * http.c :  http mini-server ;)
  *****************************************************************************
  * Copyright (C) 2001-2004 VideoLAN
- * $Id: http.c,v 1.54 2004/03/03 13:26:50 fenrir Exp $
+ * $Id: http.c,v 1.55 2004/03/03 14:22:47 fenrir Exp $
  *
  * Authors: Gildas Bazin <gbazin@netcourrier.com>
  *          Laurent Aimar <fenrir@via.ecp.fr>
@@ -843,6 +843,8 @@ static mvar_t *mvar_PlaylistSetNew( char *name, playlist_t *p_pl )
 
         mvar_AppendNewVar( itm, "name", p_pl->pp_items[i]->psz_name );
 
+        mvar_AppendNewVar( itm, "uri", p_pl->pp_items[i]->psz_uri );
+
         sprintf( value, "%d", p_pl->pp_items[i]->i_group );
         mvar_AppendNewVar( itm, "group", value );
 
index 140ffa66985ab0b52bd9f588ceba266dd8813327..07b72902ae3b141d1d5948eff6538de52f8fd88a 100644 (file)
                   <vlc id="if" param1="pl.current" />
                   <b>
                   <vlc id="end" />
-                  <a href="?control=play&amp;item=<vlc id="value" param1="pl.index" />"><vlc id="value" param1="pl.index" /> - <vlc id="value" param1="pl.name" /></a>
+                  <a href="?control=play&amp;item=<vlc id="value" param1="pl.index" />">
+                  <vlc id="value" param1="pl.index" /> - <vlc id="value" param1="pl.uri" /><vlc id="if" param1="pl.uri value pl.name value strcmp"/>  (<vlc id="value" param1="pl.name" />)<vlc id="end"/></a>
                   <vlc id="if" param1="pl.current" />
                   </b>
                   <vlc id="end" />