Merge pull request #11 from vikas5914/patch-2

Fix for smashystream TV
This commit is contained in:
TPN 2024-07-12 15:13:54 +05:30 committed by GitHub
commit 387b5d8902
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -11,7 +11,7 @@ const universalScraper = async (ctx: ShowScrapeContext | MovieScrapeContext): Pr
const query =
ctx.media.type === 'movie'
? `?tmdb=${ctx.media.tmdbId}`
: `?tmdbId=${ctx.media.tmdbId}&season=${ctx.media.season.number}&episode=${ctx.media.episode.number}`;
: `?tmdb=${ctx.media.tmdbId}&season=${ctx.media.season.number}&episode=${ctx.media.episode.number}`;
return {
embeds: [