summaryrefslogtreecommitdiff
path: root/src/de/danoeh/antennapod/syndication/namespace
diff options
context:
space:
mode:
Diffstat (limited to 'src/de/danoeh/antennapod/syndication/namespace')
-rw-r--r--src/de/danoeh/antennapod/syndication/namespace/simplechapters/NSSimpleChapters.java7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/de/danoeh/antennapod/syndication/namespace/simplechapters/NSSimpleChapters.java b/src/de/danoeh/antennapod/syndication/namespace/simplechapters/NSSimpleChapters.java
index 3c7853304..338715f52 100644
--- a/src/de/danoeh/antennapod/syndication/namespace/simplechapters/NSSimpleChapters.java
+++ b/src/de/danoeh/antennapod/syndication/namespace/simplechapters/NSSimpleChapters.java
@@ -28,9 +28,10 @@ public class NSSimpleChapters extends Namespace {
} else if (localName.equals(CHAPTER)) {
state.getCurrentItem()
.getSimpleChapters()
- .add(new SimpleChapter(SyndDateUtils
- .parseTimeString(attributes.getValue(START)),
- attributes.getValue(TITLE)));
+ .add(new SimpleChapter(state.getCurrentItem(),
+ SyndDateUtils.parseTimeString(attributes
+ .getValue(START)), attributes
+ .getValue(TITLE)));
}
return new SyndElement(localName, this);