g_free(_media->thumbnail_path);
g_free(_media->description);
g_free(_media->title);
-#ifdef _USE_TVPD_MODE
- g_free(_media->modified_month);
-#endif
g_free(_media->storage_uuid);
if (_media->image_meta) {
_dst->description = g_strdup(_src->description);
_dst->title = g_strdup(_src->title);
_dst->storage_uuid = g_strdup(_src->storage_uuid);
-#ifdef _USE_TVPD_MODE
- _dst->modified_month = g_strdup(_src->modified_month);
-#endif
_dst->media_type = _src->media_type;
_dst->size = _src->size;
_dst->added_time = _src->added_time;
return MEDIA_CONTENT_ERROR_NONE;
}
-
-int media_info_get_modified_month(media_info_h media, char **modified_month)
-{
- media_info_s *_media = (media_info_s*)media;
-
- content_retip_if_fail(media);
- content_retip_if_fail(modified_month);
-
- *modified_month = g_strdup(_media->modified_month);
-
- return MEDIA_CONTENT_ERROR_NONE;
-}
-
#endif
int media_info_get_media_from_db(const char *media_id, media_info_h *media)