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);
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)
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)
{