This commit is contained in:
Martin Fietz 2016-02-09 18:10:20 +01:00
parent a2431be0be
commit 1e5f988479
1 changed files with 9 additions and 7 deletions

View File

@ -400,10 +400,10 @@ public class FeedMedia extends FeedFile implements Playable {
if (item == null) {
return null;
}
if (getItem().getTitle() != null) {
return getItem().getTitle();
if (item.getTitle() != null) {
return item.getTitle();
} else {
return getItem().getIdentifyingValue();
return item.getIdentifyingValue();
}
}
@ -412,7 +412,7 @@ public class FeedMedia extends FeedFile implements Playable {
if (item == null) {
return null;
}
return getItem().getChapters();
return item.getChapters();
}
@Override
@ -420,7 +420,7 @@ public class FeedMedia extends FeedFile implements Playable {
if (item == null) {
return null;
}
return getItem().getLink();
return item.getLink();
}
@Override
@ -451,7 +451,7 @@ public class FeedMedia extends FeedFile implements Playable {
if (item == null) {
return null;
}
return getItem().getPaymentLink();
return item.getPaymentLink();
}
@Override
@ -489,7 +489,9 @@ public class FeedMedia extends FeedFile implements Playable {
@Override
public void setChapters(List<Chapter> chapters) {
getItem().setChapters(chapters);
if(item != null) {
item.setChapters(chapters);
}
}
@Override