mirror of
https://github.com/Viren070/AIOStreams.git
synced 2025-12-01 23:14:04 +01:00
fix: only add addons that support the type only when idPrefixes is undefined
This commit is contained in:
@@ -391,8 +391,10 @@ export class AIOStreams {
|
||||
continue;
|
||||
}
|
||||
|
||||
// look for addons that support the type, but don't have an id prefix
|
||||
const resource = resources.find(
|
||||
(r) => r.name === 'meta' && r.types.includes(type)
|
||||
(r) =>
|
||||
r.name === 'meta' && r.types.includes(type) && !r.idPrefixes?.length
|
||||
);
|
||||
|
||||
if (resource) {
|
||||
|
||||
Reference in New Issue
Block a user