Evas_Object *content, *image;
app_media_info *info;
struct _priv *priv;
+ const char *thumbnail_path;
if (!data || !base) {
_ERR("invalid argument");
return false;
}
- elm_image_file_set(image, info->thumbnail_path, NULL);
+ if (info->thumbnail_path)
+ thumbnail_path = info->thumbnail_path;
+ else
+ thumbnail_path = IMAGE_MUSIC_THUMBNAIL;
+
+ elm_image_file_set(image, thumbnail_path, NULL);
elm_image_aspect_fixed_set(image, EINA_FALSE);
elm_object_part_text_set(content, PART_PLAYING_CONTENT_TITLE,