]> git.sesse.net Git - vlc/blobdiff - modules/misc/notify/notify.c
Input access locking, part 3 (final).
[vlc] / modules / misc / notify / notify.c
index b7adc28b35fe990f05bc438edb05bb75a66dfec7..5559c5885060b9c3ae6ac30646993a4d9c25fbee 100644 (file)
@@ -153,7 +153,9 @@ static int ItemChange( vlc_object_t *p_this, const char *psz_var,
     if( psz_artist == NULL ) psz_artist = strdup( _("no artist") );
     psz_album = input_item_GetAlbum( input_GetItem( p_input ) ) ;
     if( psz_album == NULL ) psz_album = strdup( _("no album") );
-    psz_title = input_item_GetName( input_GetItem( p_input ) );
+    psz_title = input_item_GetTitle( input_GetItem( p_input ) );
+    if( psz_title == NULL )
+        psz_title = input_item_GetName( input_GetItem( p_input ) );
 
     vlc_object_release( p_input );