Use png for storage
This commit is contained in:
parent
0d335082c8
commit
8a36fe7ed5
|
@ -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();
|
||||||
|
|
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user