From 71d59a17cac78d7b197d3e6b893b3934f80340c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Neto?= Date: Wed, 1 Jul 2015 16:57:44 -0300 Subject: [PATCH] Add suppport for artist.getCorrection --- pylast/__init__.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pylast/__init__.py b/pylast/__init__.py index 50d40c7..5cc1507 100644 --- a/pylast/__init__.py +++ b/pylast/__init__.py @@ -1928,6 +1928,12 @@ class Artist(_BaseObject, _Taggable): return self.name + def get_correction(self): + """Returns the corrected artist name.""" + + return _extract( + self._request(self.ws_prefix + ".getCorrection"), "name") + def get_cover_image(self, size=COVER_MEGA): """ Returns a uri to the cover image