Merge branch 'skeptoid_duration_parse_error' of git://github.com/mo/AntennaPod into mo-skeptoid_duration_parse_error

This commit is contained in:
daniel oeh 2014-12-08 15:17:30 +01:00
commit fdf3fea584
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ public class NSITunes extends Namespace {
if (localName.equals(AUTHOR)) { if (localName.equals(AUTHOR)) {
state.getFeed().setAuthor(state.getContentBuf().toString()); state.getFeed().setAuthor(state.getContentBuf().toString());
} else if (localName.equals(DURATION)) { } else if (localName.equals(DURATION)) {
String[] parts = state.getContentBuf().toString().split(":"); String[] parts = state.getContentBuf().toString().trim().split(":");
try { try {
int duration = 0; int duration = 0;
if (parts.length == 2) { if (parts.length == 2) {