[v0.3.21] convert /opt/usr/media path to make it accessable
[platform/core/api/player.git] / src / player_internal.c
index 9ed4a5a..c1af60e 100644 (file)
@@ -263,10 +263,12 @@ int player_set_next_uri(player_h player, const char *uri)
        muse_player_api_e api = MUSE_PLAYER_API_SET_NEXT_URI;
        player_cli_s *pc = (player_cli_s *) player;
        char *ret_buf = NULL;
+       char path[MAX_URL_LEN];
 
        LOGD("ENTER");
 
-       player_msg_send1(api, pc, ret_buf, ret, STRING, uri);
+       _player_replace_old_path(uri, path);
+       player_msg_send1(api, pc, ret_buf, ret, STRING, path);
 
        g_free(ret_buf);
        return ret;