~ubuntu-branches/ubuntu/utopic/thumbnailer/utopic-proposed

« back to all changes in this revision

Viewing changes to src/ubuntuserverdownloader.cpp

  • Committer: Package Import Robot
  • Author(s): Ubuntu daily release, Pawel Stolowski
  • Date: 2014-09-01 07:32:23 UTC
  • mfrom: (1.1.16)
  • Revision ID: package-import@ubuntu.com-20140901073223-pnknelhdqsg3bj0f
Tags: 1.2+14.10.20140901-0ubuntu1
[ Pawel Stolowski ]
Changed requested images sizes to better match sizes supported by the web server.

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
#include <memory>
22
22
 
23
23
#define UBUNTU_SERVER_BASE_URL "https://dash.ubuntu.com/"
24
 
#define REQUESTED_IMAGE_SIZE "400"
25
 
#define UBUNTU_SERVER_ALBUM_ART_URL UBUNTU_SERVER_BASE_URL "musicproxy/v1/album-art?artist=%s&album=%s&size=" REQUESTED_IMAGE_SIZE
26
 
#define UBUNTU_SERVER_ARTIST_ART_URL UBUNTU_SERVER_BASE_URL "musicproxy/v1/artist-art?artist=%s&album=%s&size=" REQUESTED_IMAGE_SIZE
 
24
#define REQUESTED_ALBUM_IMAGE_SIZE "350"
 
25
#define REQUESTED_ARTIST_IMAGE_SIZE "300"
 
26
#define UBUNTU_SERVER_ALBUM_ART_URL UBUNTU_SERVER_BASE_URL "musicproxy/v1/album-art?artist=%s&album=%s&size=" REQUESTED_ALBUM_IMAGE_SIZE
 
27
#define UBUNTU_SERVER_ARTIST_ART_URL UBUNTU_SERVER_BASE_URL "musicproxy/v1/artist-art?artist=%s&album=%s&size=" REQUESTED_ARTIST_IMAGE_SIZE
27
28
 
28
29
using namespace std;
29
30