Cleanup header
[platform/core/multimedia/libmedia-service.git] / src / common / media-svc-noti.c
index 69f0916..2f0d314 100755 (executable)
@@ -52,7 +52,7 @@ static void __media_svc_destroy_noti_item(gpointer data)
        g_free(item);
 }
 
-int _media_svc_publish_noti(media_item_update_type_e update_type, const char *path, media_type_e media_type, const char *uuid, const char *mime_type)
+int _media_svc_publish_noti(media_item_update_type_e update_type, const char *path, int media_type, const char *uuid, const char *mime_type)
 {
        int ret = MS_MEDIA_ERR_NONE;
        media_svc_retvm_if(!STRING_VALID(path), MS_MEDIA_ERR_INVALID_PARAMETER, "Invalid path");
@@ -70,7 +70,7 @@ int _media_svc_publish_dir_noti(media_item_update_type_e update_type, const char
        int ret = MS_MEDIA_ERR_NONE;
        media_svc_retvm_if(!STRING_VALID(path), MS_MEDIA_ERR_INVALID_PARAMETER, "Invalid path");
 
-       ret = media_db_update_send(pid, MS_MEDIA_ITEM_DIRECTORY, update_type, path, uuid, MS_MEDIA_UNKNOWN, NULL);
+       ret = media_db_update_send(pid, MS_MEDIA_ITEM_DIRECTORY, update_type, path, uuid, 0, NULL);
        media_svc_retvm_if(ret != MS_MEDIA_ERR_NONE, ret, "Send dir noti failed[%d][%s]", ret, path);
 
        media_svc_sec_debug("Send dir noti [%s]", path);