Bypass duration = -1 video for yt

release
jhengazuki 10 months ago
parent a87aa741b5
commit 6a60b11df5
  1. 1
      app/src/main/java/com/fongmi/android/tv/player/extractor/Youtube.java

@ -144,6 +144,7 @@ public class Youtube implements Source.Extractor {
private void add(List<Episode> episodes, ListExtractor.InfoItemsPage<StreamInfoItem> page) {
for (StreamInfoItem item : page.getItems()) {
if (item.getDuration() == -1) continue;
episodes.add(Episode.create(item.getName(), item.getUrl()));
}
if (page.hasNextPage()) {

Loading…
Cancel
Save