diff options
author | daniel oeh <daniel.oeh@gmail.com> | 2014-12-08 15:17:30 +0100 |
---|---|---|
committer | daniel oeh <daniel.oeh@gmail.com> | 2014-12-08 15:17:30 +0100 |
commit | fdf3fea58477ef6cbf4f647fbf4667026027d498 (patch) | |
tree | 6881b2c8060ef881fb0ea847379d2cfad66f2d92 /core/src/main/java | |
parent | 8da0dd67955de4ab715ce15b577f1ad82ca0cdfe (diff) | |
parent | 4dd97c6ccaa681b007c5556575eb7fff709caa59 (diff) | |
download | AntennaPod-fdf3fea58477ef6cbf4f647fbf4667026027d498.zip |
Merge branch 'skeptoid_duration_parse_error' of git://github.com/mo/AntennaPod into mo-skeptoid_duration_parse_error
Diffstat (limited to 'core/src/main/java')
-rw-r--r-- | core/src/main/java/de/danoeh/antennapod/core/syndication/namespace/NSITunes.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/main/java/de/danoeh/antennapod/core/syndication/namespace/NSITunes.java b/core/src/main/java/de/danoeh/antennapod/core/syndication/namespace/NSITunes.java index 70e1126b9..ff9828eba 100644 --- a/core/src/main/java/de/danoeh/antennapod/core/syndication/namespace/NSITunes.java +++ b/core/src/main/java/de/danoeh/antennapod/core/syndication/namespace/NSITunes.java @@ -50,7 +50,7 @@ public class NSITunes extends Namespace { if (localName.equals(AUTHOR)) { state.getFeed().setAuthor(state.getContentBuf().toString()); } else if (localName.equals(DURATION)) { - String[] parts = state.getContentBuf().toString().split(":"); + String[] parts = state.getContentBuf().toString().trim().split(":"); try { int duration = 0; if (parts.length == 2) { |