Movie poster factory: don't convert movie title to lower case
authorPhilipp Zabel <philipp.zabel@gmail.com>
Wed, 4 Aug 2010 22:20:08 +0000 (00:20 +0200)
committerPhilipp Zabel <philipp.zabel@gmail.com>
Thu, 5 Aug 2010 19:05:00 +0000 (21:05 +0200)
The IMDb poster downloader uses less bandwidth this way because imdb.com
immediately redirects to the title page if the query is case correct.

src/poster/movie-poster-factory.vala

index cef31b6..b979cd2 100644 (file)
@@ -72,7 +72,7 @@ namespace MoviePoster {
                        } else if (server != null && download_posters) {
                                var request = new Request ();
 
-                               request.handle = server.Fetch (movie.title.down (), movie.year.to_string (), "movie");
+                               request.handle = server.Fetch (movie.title, movie.year.to_string (), "movie");
                                request.movie = movie;
                                request.callback = callback;
                                request.width = 268;