From 18708393af15ec3412c91c83ac5bcdca8f6342f5 Mon Sep 17 00:00:00 2001 From: Philip Trauner Date: Thu, 2 Nov 2017 17:04:24 +0100 Subject: [PATCH] Added depreciation comment, harmonized image sizes --- pylast/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pylast/__init__.py b/pylast/__init__.py index 8602734..fc49fbc 100644 --- a/pylast/__init__.py +++ b/pylast/__init__.py @@ -86,6 +86,7 @@ DOMAIN_RUSSIAN = 9 DOMAIN_JAPANESE = 10 DOMAIN_CHINESE = 11 +# COVER_X is deprecated since 2.1.0 and will be removed in a future version SIZE_SMALL = COVER_SMALL = 0 SIZE_MEDIUM = COVER_MEDIUM = 1 SIZE_LARGE = COVER_LARGE = 2 @@ -1575,7 +1576,7 @@ class Artist(_BaseObject, _Taggable): return _extract( self._request(self.ws_prefix + ".getCorrection"), "name") - def get_cover_image(self, size=SIZE_MEGA): + def get_cover_image(self, size=SIZE_EXTRA_LARGE): """ Returns a uri to the cover image size can be one of: