Wow, that was quick! Just rebuild Sonata from git, - works perfect.
Thanks!

> On 15.10.2009 08:49, Stephen Boyd wrote:
> --->8----
>
> From: Stephen Boyd<[email protected]>
> Date: Wed, 14 Oct 2009 23:43:10 -0700
> Subject: [PATCH] rhapsody: download big artwork when requesting single image
>
> Previously, the first artwork image listed by rhapsody would be
> downloaded usually resulting in a small 70x70 image. Download the larger
> 170x170 image (usually the last image) instead because the most frequent
> user of the artwork is the currently playing icon.
>
> Reported-by: Joschka Thurner<[email protected]>
> ---
>   sonata/artwork.py |    2 +-
>   1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/sonata/artwork.py b/sonata/artwork.py
> index 69810a1..6441fa8 100644
> --- a/sonata/artwork.py
> +++ b/sonata/artwork.py
> @@ -558,7 +558,7 @@ def artwork_download_img_to_file(self, artist, album, 
> dest_filename, all_images=
>               return False
>
>           if not all_images:
> -            urllib.urlretrieve(imglist[0], dest_filename)
> +            urllib.urlretrieve(imglist[-1], dest_filename)
>               self.downloading_image = False
>               return True
>           else:
>
>    


_______________________________________________
Sonata-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/sonata-users

Reply via email to