mpserviceplugins/mpxsqlitedbhgplugin/src/mpxdbhandler.cpp
changeset 48 af3740e3753f
parent 42 79c49924ae23
child 51 560ce2306a17
equal deleted inserted replaced
42:79c49924ae23 48:af3740e3753f
   997 
   997 
   998         if (contentId == KMPXMediaIdGeneral && attributeId & EMPXMediaGeneralCount)
   998         if (contentId == KMPXMediaIdGeneral && attributeId & EMPXMediaGeneralCount)
   999             {
   999             {
  1000             MPX_DEBUG1("    EMPXMediaGeneralCount");
  1000             MPX_DEBUG1("    EMPXMediaGeneralCount");
  1001 
  1001 
  1002             attributes.Append(TMPXAttribute(KMPXMediaIdGeneral, attributeId & ~EMPXMediaGeneralCount));
  1002             attributes.AppendL(TMPXAttribute(KMPXMediaIdGeneral, attributeId & ~EMPXMediaGeneralCount));
  1003 
  1003 
  1004             tryGetSongCount = ETrue;
  1004             tryGetSongCount = ETrue;
  1005             break;
  1005             break;
  1006             }
  1006             }
  1007 
  1007 
  1008         attributes.Append(aAttrs[i]);
  1008         attributes.AppendL(aAttrs[i]);
  1009         }
  1009         }
  1010 
  1010 
  1011     for (TInt j = i+1; j < attrCount; j++)
  1011     for (TInt j = i+1; j < attrCount; j++)
  1012         {
  1012         {
  1013         attributes.Append(aAttrs[j]);
  1013         attributes.AppendL(aAttrs[j]);
  1014         }
  1014         }
  1015     iDbAlbum->GetSubCategoryItemsL(EMPXArtist, aArtistId, attributes.Array(), aMediaArray);
  1015     iDbAlbum->GetSubCategoryItemsL(EMPXArtist, aArtistId, attributes.Array(), aMediaArray);
  1016     CleanupStack::PopAndDestroy(&attributes);
  1016     CleanupStack::PopAndDestroy(&attributes);
  1017 
  1017 
  1018     TInt pPath(0);
  1018     TInt pPath(0);