]> git.street.me.uk Git - andy/viking.git/blobdiff - src/datasource_url.c
Enable handling compressed files when acquiring from an URL datasource.
[andy/viking.git] / src / datasource_url.c
index 86181d6ae492c2f77fa89b2b92e3fb7aed13bffc..44891adf8b458ceebb501f8cba09dd040c731116 100644 (file)
@@ -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 )