فهرست منبع

Use png for storage

Cody Robibero 3 سال پیش
والد
کامیت
8a36fe7ed5
2فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 1 1
      Jellyfin.Api/Controllers/ImageController.cs
  2. 1 1
      Jellyfin.Drawing.Skia/SkiaEncoder.cs

+ 1 - 1
Jellyfin.Api/Controllers/ImageController.cs

@@ -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();

+ 1 - 1
Jellyfin.Drawing.Skia/SkiaEncoder.cs

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