* recognize new x-plgroup paramater (only standardized fields are not prefixed with x-)
authorDerk-Jan Hartman <hartman@videolan.org>
Tue, 20 Jul 2004 21:36:51 +0000 (21:36 +0000)
committerDerk-Jan Hartman <hartman@videolan.org>
Tue, 20 Jul 2004 21:36:51 +0000 (21:36 +0000)
modules/misc/sap.c

index 47fa72e..e1f1e3c 100644 (file)
@@ -770,7 +770,8 @@ static void sess_toitem( intf_thread_t * p_intf, sess_descr_t * p_sd )
             {
                 psz_http_path = strdup(  p_sd->pp_attributes[i]->psz_value );
             }
-            if( !strcasecmp( p_sd->pp_attributes[i]->psz_field , "plgroup" ) )
+            if( !strcasecmp( p_sd->pp_attributes[i]->psz_field , "plgroup" ) ||
+              ( !strcasecmp( p_sd->pp_attributes[i]->psz_field , "x-plgroup" ) )
             {
                 int i_group_id;
                 p_playlist =