- print ("Downloading Plots");
- downloader.download (url + "plot.list.gz", plot_parser);
+ downloader.download (url + "plot.list.gz", Path.build_filename (cache_dir, "plot.list.gz"));
+ }
+
+ if (MOVIES in flags) {
+ description_changed ("Parsing movie list ...");
+ parser.parse (Path.build_filename (cache_dir, "movies.list.gz"), movie_parser);
+ }
+ percent_finished = 20;
+ if (GENRES in flags) {
+ description_changed ("Parsing genre data ...");
+ parser.parse (Path.build_filename (cache_dir, "genres.list.gz"), genre_parser);
+ }
+ percent_finished = 40;
+ if (RATINGS in flags) {
+ description_changed ("Parsing rating data ...");
+ parser.parse (Path.build_filename (cache_dir, "ratings.list.gz"), rating_parser);
+ }
+ percent_finished = 60;
+ if (AKAS in flags) {
+ description_changed ("Parsing alternative titles ...");
+ parser.parse (Path.build_filename (cache_dir, "aka-titles.list.gz"), aka_parser);
+ }
+ percent_finished = 80;
+ if (PLOTS in flags) {
+ description_changed ("Parsing plots ...");
+ parser.parse (Path.build_filename (cache_dir, "plot.list.gz"), plot_parser);