Poster downloading update
authorPhilipp Zabel <philipp.zabel@gmail.com>
Sun, 8 Aug 2010 13:18:37 +0000 (15:18 +0200)
committerPhilipp Zabel <philipp.zabel@gmail.com>
Sun, 8 Aug 2010 14:06:18 +0000 (16:06 +0200)
commit4cf5c69b3e860d1e461efb7cc2348e32075f73f8
tree3b8fb91939ffae02d4d17f033aaa147b48fd1af1
parenta8b8eed1842446297bf9491731df3d1b545251b9
Poster downloading update

Remove the thumbnail variants of the poster downloader's Fetch and the
poster factory's queue methods, instead add width and height parameters.
The IMDb poster downloader now downloads the small poster image directly
from the title page when only a thumbnail is requested. The full poster
images are scaled down to 288x400.
The poster factory now creates thumbnails from the downloaded posters
(nearly) according to the freedesktop.org thumbnail spec: they are stored
as jpeg files and the sizes of normal and large thumbnails are optimized
for the list view and poster grid, respectively.
src/movie-list-view.vala
src/movie-window.vala
src/poster/google-poster-downloader.vala
src/poster/imdb-poster-downloader.vala
src/poster/movie-poster-factory.vala
src/poster/poster-downloader-interface.vala