{
int ret = MEDIA_CONTENT_ERROR_NONE;
char repl_path[MAX_PATH_LEN] = {0, };
- media_info_s *_info = NULL;
+ media_info_s *_info = NULL;\r
+#ifdef _USE_TVPD_MODE
+ char storage_id[MEDIA_CONTENT_UUID_SIZE + 1] = {0, };
+#endif
content_retip_if_fail(media);
content_retip_if_fail(STRING_VALID(dst_path));
/* Update media_info handle */
_info = g_new0(media_info_s, 1);
+#ifdef _USE_TVPD_MODE
+ ret = media_svc_get_storage_id(_content_get_db_handle(), repl_path, storage_id, _content_get_uid());
+ content_retv_if(ret != MEDIA_CONTENT_ERROR_NONE, ret);
+
+ ret = _media_info_get_media_info_from_db(repl_path, storage_id, (media_info_h)_info);
+#else
ret = _media_info_get_media_info_from_db(repl_path, (media_info_h)_info);
+#endif
SAFE_FREE(_media->display_name);
_media->display_name = g_strdup(_info->display_name);