Skip to content
Snippets Groups Projects
Commit edff9427 authored by Rafaël Carré's avatar Rafaël Carré
Browse files

Replaces xml special chars in image url

parent 8eee31fd
No related merge requests found
......@@ -212,11 +212,14 @@ static void xspf_export_item( playlist_item_t *p_item, FILE *p_file,
free( psz_temp );
psz = input_item_GetArtURL( p_item->p_input );
if( !EMPTY_STR( psz ) )
if( psz == NULL ) psz = strdup( "" );
psz_temp = convert_xml_special_chars( psz );
free( psz );
if( !EMPTY_STR( psz_temp ) )
{
fprintf( p_file, "\t\t\t<image>%s</image>\n", psz );
fprintf( p_file, "\t\t\t<image>%s</image>\n", psz_temp );
}
free( psz );
free( psz_temp );
xspfexportitem_end:
/* -> the duration */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment