fix(core): actually apply exclude uncached/cached filters

This commit is contained in:
Viren070
2025-06-03 20:14:43 +01:00
parent 59d86ffcbf
commit 413a29d2d8
+10
View File
@@ -945,6 +945,16 @@ export class AIOStreams {
serviceIds: string[] | undefined,
cached: boolean
) => {
if (this.userData.excludeCached && cached && stream.service?.cached) {
return false;
}
if (
this.userData.excludeUncached &&
cached === false &&
stream.service?.cached === false
) {
return false;
}
if (mode === 'and') {
return (
(!addonIds ||