musichomescreen_multiview/mcpmusicplayer/src/aiplayerpluginengine.cpp
branchRCL_3
changeset 14 943ff5625028
parent 0 ff3acec5bc43
child 26 70a8526f03f2
--- a/musichomescreen_multiview/mcpmusicplayer/src/aiplayerpluginengine.cpp	Fri Feb 19 22:48:30 2010 +0200
+++ b/musichomescreen_multiview/mcpmusicplayer/src/aiplayerpluginengine.cpp	Fri Mar 12 15:42:25 2010 +0200
@@ -177,10 +177,13 @@
             }
 		delete iArtist;
 		iArtist = NULL;
-		iArtist = ( aMedia.ValueText( KMPXMediaMusicArtist ) ).AllocL();
-		
-		iObserver->TrackInfoChanged( *iTitle, *iArtist );
-        
+		if ( aMedia.IsSupported( KMPXMediaMusicArtist ) )
+		    {
+		    iArtist = ( aMedia.ValueText( KMPXMediaMusicArtist ) ).AllocL();
+		    }
+
+		iObserver->TrackInfoChanged(iTitle ? *iTitle : KNullDesC(), iArtist ? *iArtist : KNullDesC());
+
 		if (!iSkipping)
             {
             if (iExtractingAlbumArt)