[vlc-devel] [PATCH] Improve the playlist experience

Mario Speiß 1034-135 at online.de
Fri Feb 8 11:59:01 CET 2013


On 08.02.2013 11:48, Rémi Denis-Courmont wrote:
> On Fri,  8 Feb 2013 11:12:19 +0100, Mario Speiß<1034-135 at online.de>
> wrote:
>> diff --git a/modules/misc/playlist/xspf.c b/modules/misc/playlist/xspf.c
>> index ffc1cee..52532a4 100644
>> --- a/modules/misc/playlist/xspf.c
>> +++ b/modules/misc/playlist/xspf.c
>> @@ -132,6 +132,11 @@ static void xspf_export_item( playlist_item_t
>> *p_item, FILE *p_file,
>>           fprintf( p_file, "\t\t\t<image>%s</image>\n", psz );
>>       free( psz );
>>
>> +    psz = input_xml( p_input, input_item_GetURL );
>> +    if( psz&&  *psz )
>> +        fprintf( p_file, "\t\t\t<link>%s</link>\n", psz );
>> +    free( psz );
>> +
>
> As far as I understand the XSPFv1 specification, that's not how the<link>
> element is supposed to work.
Indeed, I just saw that <info> might be more suitable. You want me to 
change that?

Regards,
  Mario
>
>>   xspfexportitem_end:
>>       /* ->  the duration */
>>       i_duration = input_item_GetDuration( p_item->p_input );
>> @@ -262,3 +267,4 @@ int xspf_export_playlist( vlc_object_t *p_this )
>>
>>       return VLC_SUCCESS;
>>   }
>> +
>




More information about the vlc-devel mailing list