From c9abaa970c9f5f5104f085ec6de4ef7261860e36 Mon Sep 17 00:00:00 2001 From: daniel oeh Date: Thu, 2 Aug 2012 22:18:40 +0200 Subject: [PATCH] Allow null as a value of the thumbnail_url attribute --- src/de/danoeh/antennapod/miroguide/con/MiroService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/de/danoeh/antennapod/miroguide/con/MiroService.java b/src/de/danoeh/antennapod/miroguide/con/MiroService.java index 6a0d7f0b0..3c077e071 100644 --- a/src/de/danoeh/antennapod/miroguide/con/MiroService.java +++ b/src/de/danoeh/antennapod/miroguide/con/MiroService.java @@ -108,7 +108,7 @@ public class MiroService { long id = content.getLong("id"); String name = content.getString("name"); String description = content.getString("description"); - String thumbnailUrl = content.getString("thumbnail_url"); + String thumbnailUrl = content.optString("thumbnail_url"); String downloadUrl = content.getString("url"); String websiteUrl = content.getString("website_url"); if (!withItems) {