diff --git a/CHANGELOG.md b/CHANGELOG.md index c52552d9..fae2d6b1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,13 @@ All notable changes to this project will be documented in this file. +## v1.5.2 + +- 🦺 Fixed transcoding not starting (regression in v1.5.1) +- 🦺 Fixed Discover page header opacity issues +- 🦺 Fixed runtime error caused by missing settings +- 🏗️ Reduced latency when reading local files + ## v1.5.1 - ⚡️ Reduced memory usage diff --git a/internal/handlers/anilist.go b/internal/handlers/anilist.go index 626429b7..224437bb 100644 --- a/internal/handlers/anilist.go +++ b/internal/handlers/anilist.go @@ -28,6 +28,9 @@ func HandleGetAnilistCollection(c *RouteCtx) error { } go func() { + if c.App.Settings == nil { + return + } if c.App.Settings.Library.EnableManga { _, _ = c.App.GetMangaCollection(bypassCache) if bypassCache { diff --git a/internal/handlers/onlinestream.go b/internal/handlers/onlinestream.go index 7cfd13c5..6953d9e7 100644 --- a/internal/handlers/onlinestream.go +++ b/internal/handlers/onlinestream.go @@ -28,7 +28,7 @@ func HandleGetOnlineStreamEpisodeList(c *RouteCtx) error { return c.RespondWithError(err) } - if !c.App.Settings.Library.EnableOnlinestream { + if c.App.Settings == nil || !c.App.Settings.Library.EnableOnlinestream { return c.RespondWithError(errors.New("enable online streaming in the settings")) } diff --git a/seanime-web/src/app/(main)/mediastream/_lib/handle-mediastream.ts b/seanime-web/src/app/(main)/mediastream/_lib/handle-mediastream.ts index 854f61b8..80b3f46b 100644 --- a/seanime-web/src/app/(main)/mediastream/_lib/handle-mediastream.ts +++ b/seanime-web/src/app/(main)/mediastream/_lib/handle-mediastream.ts @@ -125,7 +125,7 @@ export function useHandleMediastream(props: HandleMediastreamProps) { * Fetch media container containing stream URL */ const { data: _mediaContainer, isError: isMediaContainerError, isPending, isFetching, refetch } = useRequestMediastreamMediaContainer({ - // path: filePath, + path: filePath, streamType: streamType, clientId: sessionId, })