mirror of
https://github.com/TeamNewPipe/NewPipe
synced 2024-08-04 10:00:47 +00:00
![John Zhen Mo](/assets/img/avatar_default.png)
-Updated ExoPlayer to 2.5.4. -Expanded button size in main video player play queue. -Removed Quality event. -Extracted player error strings to xml.
20 lines
428 B
Java
20 lines
428 B
Java
package org.schabi.newpipe.playlist;
|
|
|
|
import org.schabi.newpipe.extractor.stream.StreamInfo;
|
|
|
|
import java.util.Collections;
|
|
|
|
public final class SinglePlayQueue extends PlayQueue {
|
|
public SinglePlayQueue(final StreamInfo info) {
|
|
super(0, Collections.singletonList(new PlayQueueItem(info)));
|
|
}
|
|
|
|
@Override
|
|
public boolean isComplete() {
|
|
return true;
|
|
}
|
|
|
|
@Override
|
|
public void fetch() {}
|
|
}
|