- char *psz_author =
- vlc_input_item_GetInfo( &p_item->input,
- _("Meta-information"), _("Artist"));
- if( !psz_author )
- {
- UnlockPlaylist( p_intf->p_sys, p_playlist );
- return;
- }
+
+ char *psz_artist = input_item_GetArtist( p_item->p_input );
+ if( !psz_artist )
+ psz_artist = strdup( "" );
+
+ char *psz_name = input_item_GetName( p_item->p_input );
+ if( !psz_name )
+ psz_name = strdup( "" );