File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -239,18 +239,14 @@ private static StreamInfo extractOptionalData(
239239 streamInfo .addException (e );
240240 }
241241 try {
242- // get next video
243- if (streamInfo .next_video != null )
244- {
245- StreamInfoItemCollector c = new StreamInfoItemCollector (
246- extractor .getUrlIdHandler (), extractor .getServiceId ());
247- StreamInfoItemExtractor nextVideo = extractor .getNextVideo ();
248- c .commit (nextVideo );
249- if (c .getItemList ().size () != 0 ) {
250- streamInfo .next_video = (StreamInfoItem ) c .getItemList ().get (0 );
251- }
252- streamInfo .errors .addAll (c .getErrors ());
242+ StreamInfoItemCollector c = new StreamInfoItemCollector (
243+ extractor .getUrlIdHandler (), extractor .getServiceId ());
244+ StreamInfoItemExtractor nextVideo = extractor .getNextVideo ();
245+ c .commit (nextVideo );
246+ if (c .getItemList ().size () != 0 ) {
247+ streamInfo .next_video = (StreamInfoItem ) c .getItemList ().get (0 );
253248 }
249+ streamInfo .errors .addAll (c .getErrors ());
254250 }
255251 catch (Exception e ) {
256252 streamInfo .addException (e );
You can’t perform that action at this time.
0 commit comments