diff options
-rw-r--r-- | src/media_content.c | 2 | ||||
-rw-r--r-- | src/media_info.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/media_content.c b/src/media_content.c index 1035217..7550c65 100644 --- a/src/media_content.c +++ b/src/media_content.c @@ -468,7 +468,7 @@ void _media_content_db_update_noti_cb( media_item_update_type_e update_type, char* path, char* uuid, - media_type_e content_type, + int content_type, char *mime_type, void *user_data) { diff --git a/src/media_info.c b/src/media_info.c index daae28f..e29d17c 100644 --- a/src/media_info.c +++ b/src/media_info.c @@ -1325,7 +1325,7 @@ int media_info_update_to_db(media_info_h media) /* Send notification for this update */ content_debug("Update is successful. Send notification for this"); if (_media->file_path && _media->mime_type) - media_svc_publish_noti(MS_MEDIA_ITEM_UPDATE, _media->file_path, _media->media_type, _media->media_id, _media->mime_type); + media_svc_publish_update_noti(_media->file_path, _media->media_type, _media->media_id, _media->mime_type); else content_error("Can't Send Noti : path or mime type is NULL"); } |