diff --git a/README.md b/README.md index f06f626b..62947583 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,7 @@ Kyoo does not have a plugin system and aim to have every features built-in (see - **Helm Chart:** Deploy Kyoo to your Kubernetes cluster today! There is an official Helm chart. Multiple replicas is a WIP! -- ~**OIDC Connection:** Connect using any OIDC compliant service (Google, Discord, Authelia, you name it).~ (soon, not reimplemented in v5 yet) +- **OIDC Connection:** Connect using any OIDC compliant service (Google, Discord, Authelia, you name it). - ~**Watch List Scrubbing Support:** Your watch list is automatically synced to connected services (SIMKL and soon others [#351](https://github.com/zoriya/Kyoo/issues/351), [#352](https://github.com/zoriya/Kyoo/issues/352)). No need to manually mark episodes as watched.~ (soon, not reimplemented in v5 yet) diff --git a/api/tests/misc/filter.test.ts b/api/tests/misc/filter.test.ts index 576ecbfd..5c7d1675 100644 --- a/api/tests/misc/filter.test.ts +++ b/api/tests/misc/filter.test.ts @@ -53,7 +53,7 @@ describe("Parse filter", () => { type: "op", operator: "ge", property: { name: "airDate" }, - value: { type: "date", value: "2022-10-12" }, + value: { type: "date", value: new Date("2022-10-12") }, }, }); }); diff --git a/front/src/ui/details/collection.tsx b/front/src/ui/details/collection.tsx index 2dca925f..add5bc65 100644 --- a/front/src/ui/details/collection.tsx +++ b/front/src/ui/details/collection.tsx @@ -72,7 +72,7 @@ CollectionDetails.query = (slug: string): QueryIdentifier => ({ parser: Show, path: ["api", "collections", slug, "shows"], params: { - sort: ["airDate"] + sort: ["airDate"], }, infinite: true, }); diff --git a/scanner/scanner/routers/routes.py b/scanner/scanner/routers/routes.py index 060bb273..9bfb1d83 100644 --- a/scanner/scanner/routers/routes.py +++ b/scanner/scanner/routers/routes.py @@ -205,9 +205,7 @@ async def refresh_movie_by_slug( Request( kind="movie", title=show.name, - year=show.air_date.year - if show.air_date is not None - else None, + year=show.air_date.year if show.air_date is not None else None, external_id=MetadataId.map_dict(show.external_id), videos=[], ) @@ -237,9 +235,7 @@ async def refresh_serie_by_slug( Request( kind="episode", title=show.name, - year=show.start_air.year - if show.start_air is not None - else None, + year=show.start_air.year if show.start_air is not None else None, external_id=MetadataId.map_dict(show.external_id), videos=[], )