do not treat new non indexed episodes as absolute

This commit is contained in:
TheBeastLT
2022-06-02 09:11:00 +03:00
parent b38b635f0b
commit 845c6251f9
2 changed files with 13 additions and 7 deletions

View File

@@ -176,6 +176,10 @@ function getTorrentsBasedOnQuery(where) {
return Torrent.findAll({ where: where });
}
function getFilesBasedOnQuery(where) {
return File.findAll({ where: where });
}
function getTorrentsWithoutSize() {
return Torrent.findAll({
where: literal(
@@ -325,6 +329,7 @@ module.exports = {
getTorrent,
getTorrentsBasedOnTitle,
getTorrentsBasedOnQuery,
getFilesBasedOnQuery,
deleteTorrent,
getUpdateSeedersTorrents,
getUpdateSeedersNewTorrents,