- psz_artist = p_input->input.p_item->p_meta->psz_artist ?
- strdup( p_input->input.p_item->p_meta->psz_artist ) :
- strdup( "" );
- psz_album = p_input->input.p_item->p_meta->psz_album ?
- strdup( p_input->input.p_item->p_meta->psz_album ) :
- strdup( "" );
- psz_title = strdup( p_input->input.p_item->psz_name );
- if( psz_title == NULL ) psz_title = strdup( N_("(no title)") );
- if( psz_artist == NULL ) psz_artist = strdup( N_("(no artist)") );
- if( psz_album == NULL ) psz_album = strdup( N_("(no album)") );
+ char *psz_artist = input_item_GetArtist( input_GetItem( p_input ) );
+ char *psz_album = input_item_GetAlbum( input_GetItem( p_input ) );
+ char *psz_title = input_item_GetTitleFbName( input_GetItem( p_input ) );
+ char *psz_buf = str_format_meta( p_intf, p_intf->p_sys->psz_format );
+