Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/jellyfin/commit/fa24cd65af30e50a5da206804eb14dc7ba834e46 You should set ROOT_URL correctly, otherwise the web may not work correctly.

fix dynamic image extension

pull/702/head
Luke Pulverenti 9 years ago
parent bbaa0977fd
commit fa24cd65af

@ -17,6 +17,7 @@ using MediaBrowser.Model.IO;
using MediaBrowser.Controller.Entities.Audio;
using MediaBrowser.Controller.IO;
using MediaBrowser.Model.Configuration;
using MediaBrowser.Model.Net;
namespace Emby.Server.Implementations.Images
{
@ -146,7 +147,9 @@ namespace Emby.Server.Implementations.Images
return ItemUpdateType.None;
}
await ProviderManager.SaveImage(item, outputPath, "image/png", imageType, null, false, cancellationToken).ConfigureAwait(false);
var mimeType = MimeTypes.GetMimeType(outputPath);
await ProviderManager.SaveImage(item, outputPath, mimeType, imageType, null, false, cancellationToken).ConfigureAwait(false);
return ItemUpdateType.ImageUpdate;
}

Loading…
Cancel
Save