From b1333cfc1697ce583876b204386aa2dd4ab8eb5c Mon Sep 17 00:00:00 2001 From: James Hawkins Date: Thu, 26 Jan 2023 13:35:38 +0000 Subject: [PATCH] netfilm default season 1 if none exists --- src/backend/providers/netfilm.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/providers/netfilm.ts b/src/backend/providers/netfilm.ts index 6d773974..d03310d4 100644 --- a/src/backend/providers/netfilm.ts +++ b/src/backend/providers/netfilm.ts @@ -69,7 +69,7 @@ registerProvider({ .map((v: any) => { return { ...v, - season: parseInt(v.name.split(" ").at(-1), 10), + season: parseInt(v.name.split(" ").at(-1), 10) || 1, }; });