From: Rob Norris Date: Sun, 17 Jan 2016 15:09:18 +0000 (+0000) Subject: Enable handling compressed files when acquiring from an URL datasource. X-Git-Url: https://git.street.me.uk/andy/viking.git/commitdiff_plain/9715e872448e0ed6c4d9da3a3b6cec6429a2a988 Enable handling compressed files when acquiring from an URL datasource. --- diff --git a/src/datasource_url.c b/src/datasource_url.c index 86181d6a..44891adf 100644 --- a/src/datasource_url.c +++ b/src/datasource_url.c @@ -152,7 +152,10 @@ static void datasource_url_get_process_options ( datasource_url_widgets_t *widge po->input_file_type = g_strdup ( ((BabelFile*)g_list_nth_data (a_babel_file_list, last_type))->name ); po->url = g_strdup ( value ); - download_options = NULL; + + // Support .zip + bzip2 files directly + download_options->convert_file = a_try_decompress_file; + download_options->follow_location = 5; } static void datasource_url_cleanup ( gpointer data )