mpxplugins/serviceplugins/collectionplugins/mpxsqlitedbhgplugin/src/mpxdbartist.cpp
changeset 2 b70d77332e66
parent 0 ff3acec5bc43
child 14 943ff5625028
equal deleted inserted replaced
1:8118492f1bdf 2:b70d77332e66
   239                 {
   239                 {
   240 //				TInt albumCount = GetAlbumsCountL(aRecord.ColumnInt64(EArtistUniqueId));
   240 //				TInt albumCount = GetAlbumsCountL(aRecord.ColumnInt64(EArtistUniqueId));
   241 //              aMedia.SetTObjectValueL<TInt>(KMPXMediaGeneralCount,albumCount);
   241 //              aMedia.SetTObjectValueL<TInt>(KMPXMediaGeneralCount,albumCount);
   242 //              MPX_DEBUG1("	EMPXMediaGeneralCount");
   242 //              MPX_DEBUG1("	EMPXMediaGeneralCount");
   243 //				MPX_DEBUG2("	AlbumCount[%d]", albumCount);
   243 //				MPX_DEBUG2("	AlbumCount[%d]", albumCount);
   244 				TInt songCount = aRecord.ColumnInt64(EArtistSongCount);
   244                 // get songs count from all drives
       
   245                 TInt songCount = GetSongsCountL( KDbManagerAllDrives,
       
   246                                     aRecord.ColumnInt64( EArtistUniqueId ) );
   245 				aMedia.SetTObjectValueL<TInt>(KMPXMediaGeneralCount, songCount); // mod by anjokela
   247 				aMedia.SetTObjectValueL<TInt>(KMPXMediaGeneralCount, songCount); // mod by anjokela
   246 
   248 
   247                 MPX_DEBUG1("	EMPXMediaGeneralCount");
   249                 MPX_DEBUG1("	EMPXMediaGeneralCount");
   248 				MPX_DEBUG2("	SongCount[%d]", songCount);
   250 				MPX_DEBUG2("	SongCount[%d]", songCount);
   249                 }
   251                 }