- Song duration textview size fix
- <unknown> artist image fix
This commit is contained in:
Karim Abou Zeid 2015-03-19 15:01:26 +01:00
commit b47f25a969
3 changed files with 3 additions and 4 deletions

View file

@ -16,7 +16,7 @@ public class LastFMArtistImageUrlLoader {
public static final String TAG = LastFMArtistImageUrlLoader.class.getSimpleName();
public static void loadArtistImageUrl(final Context context, String queryArtist, boolean forceDownload, final ArtistImageUrlLoaderCallback callback) {
if (queryArtist != null) {
if (queryArtist != null && !queryArtist.trim().equals("<unknown>")) {
String artistJSON = ArtistJSONStore.getInstance(context).getArtistJSON(queryArtist);
if (artistJSON != null && !forceDownload) {
try {

View file

@ -20,7 +20,7 @@ public class LastFMArtistThumbnailUrlLoader {
public static final String TAG = LastFMArtistThumbnailUrlLoader.class.getSimpleName();
public static void loadArtistThumbnailUrl(final Context context, String queryArtist, boolean forceDownload, final ArtistThumbnailUrlLoaderCallback callback) {
if (queryArtist != null) {
if (queryArtist != null && !queryArtist.trim().equals("<unknown>")) {
String artistJSON = ArtistJSONStore.getInstance(context).getArtistJSON(queryArtist);
if (artistJSON != null && !forceDownload) {
try {