HydrogenAudio

Hosted Forums => foobar2000 => Development - (fb2k) => Topic started by: mitchjs on 2012-02-14 05:58:48

Title: playlist_incoming_item_filter progress dialog pops up everytime
Post by: mitchjs on 2012-02-14 05:58:48
im using

playlist_incoming_item_filter_v2>()->process_locations_async()

to load a playlist (m3u8 file) with a lot of files in it, it works but.. the ugly dialog box pops up everytime, showig progress of it loading in
and im using op_flag_delay_ui

my code is as follows
Code: [Select]
// Process... calls notify when done
        static_api_ptr_t<playlist_incoming_item_filter_v2>()->process_locations_async(
                    files,
                    playlist_incoming_item_filter_v2::op_flag_delay_ui,
                    NULL,
                    "",
                    core_api::get_main_window(),
                    notify);


any idea how to completly prevent that dialog?

thanks
mitch
Title: playlist_incoming_item_filter progress dialog pops up everytime
Post by: mitchjs on 2014-05-06 02:54:46
bump!
Title: playlist_incoming_item_filter progress dialog pops up everytime
Post by: foosion on 2014-05-06 10:36:47
There is no way to completely suppress the dialog. Most probably because it is considered bad style for a component to perform a lengthy operation without giving the user a way to cancel it.