Fix : Temporarily remove AlbumArtist information because of the build error 89/13589/2
authorSeokpil Park <seokpil.park@samsung.com>
Wed, 2 Oct 2013 02:56:11 +0000 (11:56 +0900)
committerSeokpil Park <seokpil.park@samsung.com>
Tue, 10 Dec 2013 08:21:27 +0000 (17:21 +0900)
Change-Id: I107bcb293209de5960a94db5bbecd49e63d36fcf
Signed-off-by: Seokpil Park <seokpil.park@samsung.com>
src/FCnt_ContentManagerImpl.cpp
src/FCnt_ContentUtility.cpp

index fbede74..83abde8 100644 (file)
@@ -1875,19 +1875,20 @@ _ContentManagerImpl::MakeAudioContentInfo(const media_info_h pMediaInfo, void* p
                SysLog(NID_CNT, "META: artist[%ls]", (String(pStrValue.get())).GetPointer());
        }
 
-       // album artist
-       val = audio_meta_get_album_artist(*(pAudioMeta.get()), &pTempValue);
-       SysTryReturnResult(NID_CNT, val == MEDIA_CONTENT_ERROR_NONE, ConvertError(val),
-                       "audio_meta_get_album_artist failed[%d].", val);
-
-       if (pTempValue != null)
-       {
-               pStrValue.reset(pTempValue);
-
-               pAudioContentInfoImpl->SetAlbumArtist(String(pStrValue.get()));
-
-               SysLog(NID_CNT, "META: album artist[%ls]", (String(pStrValue.get())).GetPointer());
-       }
+       // Add to private for extension api
+//     // album artist
+//     val = audio_meta_get_album_artist(*(pAudioMeta.get()), &pTempValue);
+//     SysTryReturnResult(NID_CNT, val == MEDIA_CONTENT_ERROR_NONE, ConvertError(val),
+//                     "audio_meta_get_album_artist failed[%d].", val);
+//
+//     if (pTempValue != null)
+//     {
+//             pStrValue.reset(pTempValue);
+//
+//             pAudioContentInfoImpl->SetAlbumArtist(String(pStrValue.get()));
+//
+//             SysLog(NID_CNT, "META: album artist[%ls]", (String(pStrValue.get())).GetPointer());
+//     }
 
        // composer
        val = audio_meta_get_composer(*(pAudioMeta.get()), &pTempValue);
index 3355556..3350de7 100644 (file)
@@ -666,15 +666,16 @@ _ContentUtility::FillAudioContentData(media_info_h mediaHandle, _AudioContentInf
                SysTryReturnResult(NID_CNT, ret == MEDIA_CONTENT_ERROR_NONE, MapCoreErrorToNativeResult(ret), "Failed to perform audio_meta_get_artist operation.");
        }
 
-       ret = audio_meta_get_album_artist(pAudioHandle.get(), &pAudioMetaValue);
-       if (pAudioMetaValue != null)
-       {
-               pAlbumArtistName.reset(pAudioMetaValue);
-       }
-       else
-       {
-               SysTryReturnResult(NID_CNT, ret == MEDIA_CONTENT_ERROR_NONE, MapCoreErrorToNativeResult(ret), "Failed to perform audio_meta_get_album_artist operation.");
-       }
+       // Add to private for extension api
+//     ret = audio_meta_get_album_artist(pAudioHandle.get(), &pAudioMetaValue);
+//     if (pAudioMetaValue != null)
+//     {
+//             pAlbumArtistName.reset(pAudioMetaValue);
+//     }
+//     else
+//     {
+//             SysTryReturnResult(NID_CNT, ret == MEDIA_CONTENT_ERROR_NONE, MapCoreErrorToNativeResult(ret), "Failed to perform audio_meta_get_album_artist operation.");
+//     }
 
        ret = audio_meta_get_genre(pAudioHandle.get(), &pAudioMetaValue);
        if (pAudioMetaValue != null)
@@ -765,12 +766,12 @@ _ContentUtility::FillAudioContentData(media_info_h mediaHandle, _AudioContentInf
                SysLog(NID_CNT, "pAudioContentInfoImpl->pArtist = %ls", (pAudioContentInfoImpl->GetArtist()).GetPointer());
        }
 
-       if (pAlbumArtistName.get() != NULL)
-       {
-               pAudioContentInfoImpl->SetAlbumArtist(String(pAlbumArtistName.get()));
-               SysLog(NID_CNT, "pAudioContentInfoImpl->pAlbumArtist = %ls", (pAudioContentInfoImpl->GetAlbumArtist()).GetPointer());
-       }
-
+       // Add to private for extension api
+//     if (pAlbumArtistName.get() != NULL)
+//     {
+//             pAudioContentInfoImpl->SetAlbumArtist(String(pAlbumArtistName.get()));
+//             SysLog(NID_CNT, "pAudioContentInfoImpl->pAlbumArtist = %ls", (pAudioContentInfoImpl->GetAlbumArtist()).GetPointer());
+//     }
 
        if (pGenreName.get() != NULL)
        {