feat: allow running without spotify

This commit is contained in:
sofushn 2024-09-07 13:09:45 +02:00
parent 534d8fafaa
commit af639159d1
7 changed files with 158 additions and 124 deletions

View file

@ -95,7 +95,7 @@ export default class {
}
if (!firstVideo) {
throw new Error('No video found.');
return [];
}
return this.getVideo(firstVideo.url, shouldSplitChapters);