Use png for storage

This commit is contained in:
Cody Robibero 2022-01-10 17:01:17 -07:00
parent 0d335082c8
commit 8a36fe7ed5
2 changed files with 2 additions and 2 deletions

View File

@ -1747,7 +1747,7 @@ namespace Jellyfin.Api.Controllers
} }
else else
{ {
splashscreenPath = Path.Combine(_appPaths.DataPath, "splashscreen.webp"); splashscreenPath = Path.Combine(_appPaths.DataPath, "splashscreen.png");
if (!System.IO.File.Exists(splashscreenPath)) if (!System.IO.File.Exists(splashscreenPath))
{ {
return NotFound(); return NotFound();

View File

@ -496,7 +496,7 @@ namespace Jellyfin.Drawing.Skia
public void CreateSplashscreen(IReadOnlyList<string> posters, IReadOnlyList<string> backdrops) public void CreateSplashscreen(IReadOnlyList<string> posters, IReadOnlyList<string> backdrops)
{ {
var splashBuilder = new SplashscreenBuilder(this); var splashBuilder = new SplashscreenBuilder(this);
var outputPath = Path.Combine(_appPaths.DataPath, "splashscreen.webp"); var outputPath = Path.Combine(_appPaths.DataPath, "splashscreen.png");
splashBuilder.GenerateSplash(posters, backdrops, outputPath); splashBuilder.GenerateSplash(posters, backdrops, outputPath);
} }