Added "lang" parameter to show localized biography.
This commit is contained in:
parent
4d8c9360c9
commit
e0467e4fff
3 changed files with 5 additions and 3 deletions
|
|
@ -49,7 +49,7 @@ public class ArtistImageFetcher implements DataFetcher<InputStream> {
|
|||
@Override
|
||||
public InputStream loadData(Priority priority) throws Exception {
|
||||
if (!MusicUtil.isArtistNameUnknown(model.artistName) && Util.isAllowedToAutoDownload(context)) {
|
||||
Response<LastFmArtist> response = lastFMRestClient.getApiService().getArtistInfo(model.artistName, model.skipOkHttpCache ? "no-cache" : null).execute();
|
||||
Response<LastFmArtist> response = lastFMRestClient.getApiService().getArtistInfo(model.artistName, null, model.skipOkHttpCache ? "no-cache" : null).execute();
|
||||
|
||||
if (!response.isSuccessful()) {
|
||||
throw new IOException("Request failed with code: " + response.code());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue