mirror of
https://github.com/p-stream/providers.git
synced 2026-05-21 16:12:27 +00:00
Update search.ts
This commit is contained in:
parent
7fa098fb0c
commit
d95de0b602
1 changed files with 3 additions and 3 deletions
|
|
@ -33,10 +33,10 @@ export async function getFlixhqId(ctx: ScrapeContext, media: MovieMedia | ShowMe
|
||||||
if (!v) return false;
|
if (!v) return false;
|
||||||
|
|
||||||
if (media.type === 'movie') {
|
if (media.type === 'movie') {
|
||||||
return compareMedia(media, v.title, v.year)
|
return compareMedia(media, v.title, v.year);
|
||||||
}
|
};
|
||||||
|
|
||||||
return compareTitle(media.title, v.title) && media.season.number < v.seasons + 1
|
return compareTitle(media.title, v.title) && media.season.number < v.seasons + 1;
|
||||||
});
|
});
|
||||||
|
|
||||||
if (!matchingItem) return null;
|
if (!matchingItem) return null;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue