Merge branch 'skeptoid_duration_parse_error' of git://github.com/mo/AntennaPod into mo-skeptoid_duration_parse_error
This commit is contained in:
commit
fdf3fea584
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue