mpxplugins/serviceplugins/collectionplugins/mpxsqlitedbhgplugin/src/mpxdbartist.cpp
equal
deleted
inserted
replaced
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 } |