1 #include "ivvideosource.h"
3 void IVVideoSource::loadVideos(int max, int startIndex) {
7 this->startIndex = startIndex;
8 reallyLoadVideos(max, startIndex);
11 void IVVideoSource::abort() {
18 void IVVideoSource::handleError(QString message) {
21 qDebug() << "Retrying...";
22 Invidious::instance().shuffleServers();
23 reallyLoadVideos(max, startIndex);
27 Invidious::instance().initServers();
28 qWarning() << message;
29 emit error("Error loading videos");