include even 0 seeders streams for series when cached in debrid

This commit is contained in:
TheBeastLT
2023-05-07 14:06:18 +02:00
parent 4d01ef63ad
commit 554d10b5af
4 changed files with 44 additions and 29 deletions

View File

@@ -32,7 +32,7 @@ builder.defineStreamHandler((args) => {
.sort((a, b) => b.torrent.seeders - a.torrent.seeders || b.torrent.uploadDate - a.torrent.uploadDate)
.map(record => toStreamInfo(record)))))
.then(streams => applyFilters(streams, args.extra))
.then(streams => applySorting(streams, args.extra))
.then(streams => applySorting(streams, args.extra, args.type))
.then(streams => applyStaticInfo(streams))
.then(streams => applyMochs(streams, args.extra))
.then(streams => enrichCacheParams(streams))