netfilm default season 1 if none exists

This commit is contained in:
James Hawkins 2023-01-26 13:35:38 +00:00
parent 52fef27374
commit b1333cfc16

View File

@ -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,
};
});