fix playing bug when db updated
authorByeongin Oh <quddls.oh@samsung.com>
Mon, 27 Aug 2012 09:38:54 +0000 (18:38 +0900)
committerByeongin Oh <quddls.oh@samsung.com>
Mon, 27 Aug 2012 09:38:54 +0000 (18:38 +0900)
Change-Id: I9a1c5849fd231f6ec34f2eb1af7e41ee3a62b19f

src/common/mp-app.c

index ecd0fce..16110c1 100755 (executable)
@@ -116,7 +116,7 @@ _mp_app_noti_changed_cb(keynode_t * node, void *data)
                if(db_state == VCONFKEY_FILEMANAGER_DB_UPDATED)
                {
                        if (mp_play_list_get_current_item(ad->playing_list)
-                           && strstr(mp_play_list_get_current_item(ad->playing_list)->filename, MP_MMC_ROOT_PATH))
+                           && !ecore_file_exists(mp_play_list_get_current_item(ad->playing_list)->filename))
                                mp_play_stop_and_updateview(ad, TRUE);
 #ifndef MP_SOUND_PLAYER
                        else