mirror of
https://github.com/ultrasonic/ultrasonic
synced 2025-02-19 21:20:52 +01:00
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:
parent
e3e90cebf1
commit
a9d96227e4
@ -79,7 +79,7 @@ public class PodcastEpisodeParser extends AbstractParser
|
|||||||
if ("episode".equals(tag))
|
if ("episode".equals(tag))
|
||||||
{
|
{
|
||||||
String status = get("status");
|
String status = get("status");
|
||||||
if (!"skipped".equals(status)) {
|
if (!"skipped".equals(status) && !"error".equals(status)) {
|
||||||
MusicDirectory.Entry entry = new MusicDirectory.Entry();
|
MusicDirectory.Entry entry = new MusicDirectory.Entry();
|
||||||
String streamId = get("streamId");
|
String streamId = get("streamId");
|
||||||
entry.setId(streamId);
|
entry.setId(streamId);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user