aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--subsonic-android/src/github/daneren2005/dsub/service/parser/PodcastEntryParser.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/subsonic-android/src/github/daneren2005/dsub/service/parser/PodcastEntryParser.java b/subsonic-android/src/github/daneren2005/dsub/service/parser/PodcastEntryParser.java
index b9e4d98a..14c0682e 100644
--- a/subsonic-android/src/github/daneren2005/dsub/service/parser/PodcastEntryParser.java
+++ b/subsonic-android/src/github/daneren2005/dsub/service/parser/PodcastEntryParser.java
@@ -67,6 +67,9 @@ public class PodcastEntryParser extends AbstractParser {
episode.setArtist(episodes.getName());
episode.setAlbum(get("description"));
episode.setDate(get("publishDate"));
+ if(episode.getDate() == null) {
+ episode.setDate(get("created"));
+ }
episode.setStatus(get("status"));
episode.setCoverArt(get("coverArt"));
episode.setSize(getLong("size"));