--- a/mmserv/metadatautility/Src/MetaDataParserWMA.cpp Wed Sep 01 12:23:00 2010 +0100
+++ b/mmserv/metadatautility/Src/MetaDataParserWMA.cpp Tue Sep 14 22:21:33 2010 +0300
@@ -69,6 +69,8 @@
_LIT(KWMAudioFileURL, "WM/AudioFileURL\0");
_LIT(KWMSharedUserRating, "WM/SharedUserRating\0");
_LIT(KWMDate, "WM/OriginalReleaseTime\0");
+_LIT(KWMAlbumArtist, "WM/AlbumArtist\0");
+
#ifdef __WINDOWS_MEDIA
_LIT(KWMProvider, "WM/Provider\0");
#endif
@@ -181,6 +183,7 @@
TRAP(err, GetExtContDesEntryL(EMetaDataAlbumTrack, iTrackNumberOffset));
TRAP(err, GetExtContDesEntryL(EMetaDataUniqueFileIdentifier, iUniqueFileIdentifierOffset));
TRAP(err, GetExtContDesEntryL(EMetaDataUrl, iAudioFileURLOffset));
+ TRAP(err, GetExtContDesEntryL(EMetaDataAlbumArtist, iAlbumArtistOffset));
TRAP(err, GetDurationL());
TRAP(err, GetExtContDesEntryL(EMetaDataDate, iDateOffset));
#ifdef __WINDOWS_MEDIA
@@ -245,6 +248,9 @@
case EMetaDataDate:
TRAP(err, GetExtContDesEntryL(EMetaDataDate, iDateOffset));
break;
+ case EMetaDataAlbumArtist:
+ TRAP(err, GetExtContDesEntryL(EMetaDataAlbumArtist, iAlbumArtistOffset));
+ break;
#ifdef __WINDOWS_MEDIA
case EMetaDataVendor:
TRAP(err, GetExtContDesEntryL(EMetaDataVendor, iProviderOffset));
@@ -886,6 +892,10 @@
{
iDateOffset = offset;
}
+ else if(!name16.Compare(KWMAlbumArtist))
+ {
+ iAlbumArtistOffset = offset;
+ }
#ifdef __WINDOWS_MEDIA
else if(!name16.Compare(KWMProvider))
{