Tweak the query by moving downloaded to the NOT grouping

This commit is contained in:
tcely 2025-02-14 13:57:32 -05:00 committed by GitHub
parent 72d0019493
commit 271ba49a68
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -61,11 +61,11 @@ class BaseStatus:
else: else:
mqs = mqs.exclude( mqs = mqs.exclude(
skip=True, skip=True,
manual_skip=True manual_skip=True,
downloaded=True,
).filter( ).filter(
source__download_media=True, source__download_media=True,
can_download=True, can_download=True,
downloaded=False,
key=self.media_key key=self.media_key
) )
for m in mqs: for m in mqs: