fix next video problem

This commit is contained in:
Christian Schabesberger 2017-04-11 22:45:00 +02:00
parent 6ab3dc876e
commit b587d175bb

View File

@ -239,9 +239,6 @@ public class StreamInfo extends AbstractStreamInfo {
streamInfo.addException(e); streamInfo.addException(e);
} }
try { try {
// get next video
if(streamInfo.next_video != null)
{
StreamInfoItemCollector c = new StreamInfoItemCollector( StreamInfoItemCollector c = new StreamInfoItemCollector(
extractor.getUrlIdHandler(), extractor.getServiceId()); extractor.getUrlIdHandler(), extractor.getServiceId());
StreamInfoItemExtractor nextVideo = extractor.getNextVideo(); StreamInfoItemExtractor nextVideo = extractor.getNextVideo();
@ -251,7 +248,6 @@ public class StreamInfo extends AbstractStreamInfo {
} }
streamInfo.errors.addAll(c.getErrors()); streamInfo.errors.addAll(c.getErrors());
} }
}
catch(Exception e) { catch(Exception e) {
streamInfo.addException(e); streamInfo.addException(e);
} }