bug fix : if a podcast episode is in status "error" it can not be added in the episodes list. Application crashes.

(cherry picked from commit 3fedd79)
This commit is contained in:
biconou 2016-03-23 21:54:44 +01:00
parent e3e90cebf1
commit a9d96227e4
1 changed files with 1 additions and 1 deletions

View File

@ -79,7 +79,7 @@ public class PodcastEpisodeParser extends AbstractParser
if ("episode".equals(tag))
{
String status = get("status");
if (!"skipped".equals(status)) {
if (!"skipped".equals(status) && !"error".equals(status)) {
MusicDirectory.Entry entry = new MusicDirectory.Entry();
String streamId = get("streamId");
entry.setId(streamId);