mirror of
https://github.com/Viren070/AIOStreams.git
synced 2025-12-01 23:14:04 +01:00
fix(core): actually apply exclude uncached/cached filters
This commit is contained in:
@@ -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 ||
|
||||
|
||||
Reference in New Issue
Block a user