diff --git a/src/api/routes/service/service.service.ts b/src/api/routes/service/service.service.ts index 0a6d973..b60f9cd 100644 --- a/src/api/routes/service/service.service.ts +++ b/src/api/routes/service/service.service.ts @@ -288,7 +288,7 @@ async function checkPlaylists() { } for (const e of eps) { - if (isDownloading < maxDownloading && e.dataValues.status === 'waiting') { + if (isDownloading <= maxDownloading && e.dataValues.status === 'waiting') { updatePlaylistByID(e.dataValues.id, 'preparing') isDownloading++ server.logger.log({