/* Update text */
QString text;
- char *psz_name = input_GetName( input_GetItem( p_input ) );
- char *psz_nowplaying = input_item_GetNowPlaying( input_GetItem( p_input );
+ char *psz_name = input_item_GetName( input_GetItem( p_input ) );
+ char *psz_nowplaying =
+ input_item_GetNowPlaying( input_GetItem( p_input ) );
char *psz_artist = input_item_GetArtist( input_GetItem( p_input ) );
if( !EMPTY_STR( psz_nowplaying ) )
{
- text.sprintf( "%s - %s", psz_now_playing, psz_name );
+ text.sprintf( "%s - %s", psz_nowplaying, psz_name );
}
else if( !EMPTY_STR( psz_artist ) )
{
current = iscurrent;
char *psz_arturl = input_item_GetArtURL( p_item->p_input );
- if( current && psz_arturl ) &&
+ if( ( current && psz_arturl ) &&
!strncmp( psz_arturl, "file://", 7 ) )
- model->sendArt( qfu( psz_arturl ) ) );
+ model->sendArt( qfu( psz_arturl ) ) ;
else if( current )
model->removeArt();
free( psz_arturl );
ADD_META( p_item, Artist );
break;
case VLC_META_ENGINE_TITLE:
- char *psz_title;
- psz_title = input_item_GetTile( p_item->p_input );
+ char *psz_title, *psz_name;
+ psz_title = input_item_GetTitle( p_item->p_input );
psz_name = input_item_GetName( p_item->p_input );
if( psz_title )
{