do not check health for movies as well when moch configured
Some checks failed
Deploy Addon / build (SSH_HOST_2, SSH_KEY_2) (push) Has been cancelled
Deploy Addon / build (SSH_HOST_3, SSH_KEY_3) (push) Has been cancelled
Deploy Addon / build (SSH_HOST_4, SSH_KEY_4) (push) Has been cancelled

This commit is contained in:
TheBeastLT 2025-09-15 09:49:39 +03:00
parent 749070cc5b
commit ba3a289ef9

View file

@ -66,7 +66,7 @@ function sortBySeeders(streams, config, type) {
const healthy = streams.filter(stream => extractSeeders(stream.title) >= HEALTHY_SEEDERS);
const seeded = streams.filter(stream => extractSeeders(stream.title) >= SEEDED_SEEDERS);
if (type === Type.SERIES && hasMochConfigured(config)) {
if (hasMochConfigured(config)) {
return streams;
} else if (healthy.length >= MIN_HEALTHY_COUNT) {
return healthy;