musichomescreen_multiview/mcpmusicplayer/src/aiplayerpluginengine.cpp
branchRCL_3
changeset 14 943ff5625028
parent 0 ff3acec5bc43
child 26 70a8526f03f2
equal deleted inserted replaced
11:13afc0e517bd 14:943ff5625028
   175             TParsePtrC filePath( aMedia.ValueText( KMPXMediaGeneralUri ) );
   175             TParsePtrC filePath( aMedia.ValueText( KMPXMediaGeneralUri ) );
   176             iTitle = (filePath.Name()).AllocL();
   176             iTitle = (filePath.Name()).AllocL();
   177             }
   177             }
   178 		delete iArtist;
   178 		delete iArtist;
   179 		iArtist = NULL;
   179 		iArtist = NULL;
   180 		iArtist = ( aMedia.ValueText( KMPXMediaMusicArtist ) ).AllocL();
   180 		if ( aMedia.IsSupported( KMPXMediaMusicArtist ) )
   181 		
   181 		    {
   182 		iObserver->TrackInfoChanged( *iTitle, *iArtist );
   182 		    iArtist = ( aMedia.ValueText( KMPXMediaMusicArtist ) ).AllocL();
   183         
   183 		    }
       
   184 
       
   185 		iObserver->TrackInfoChanged(iTitle ? *iTitle : KNullDesC(), iArtist ? *iArtist : KNullDesC());
       
   186 
   184 		if (!iSkipping)
   187 		if (!iSkipping)
   185             {
   188             {
   186             if (iExtractingAlbumArt)
   189             if (iExtractingAlbumArt)
   187                 {
   190                 {
   188                 iAlbumArtUtil->CancelRequest();
   191                 iAlbumArtUtil->CancelRequest();