aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBond_009 <bond.009@outlook.com>2023-03-08 15:19:40 +0100
committerBond_009 <bond.009@outlook.com>2023-03-08 15:19:40 +0100
commit761b9ed6a1d7fa5f097e7baaa68fe480ceca82d6 (patch)
treeb0eaa40dc0c3406a6cf117bc0231ceaec19d7dde
parent95287fa9f11853379086dcd50ebde4f88057165c (diff)
Allow webp for local images
-rw-r--r--MediaBrowser.Controller/Entities/BaseItem.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/MediaBrowser.Controller/Entities/BaseItem.cs b/MediaBrowser.Controller/Entities/BaseItem.cs
index b8601cccd..8fe9cfa7f 100644
--- a/MediaBrowser.Controller/Entities/BaseItem.cs
+++ b/MediaBrowser.Controller/Entities/BaseItem.cs
@@ -47,7 +47,7 @@ namespace MediaBrowser.Controller.Entities
/// The supported image extensions.
/// </summary>
public static readonly string[] SupportedImageExtensions
- = new[] { ".png", ".jpg", ".jpeg", ".tbn", ".gif" };
+ = new[] { ".png", ".jpg", ".jpeg", ".webp", ".tbn", ".gif" };
private static readonly List<string> _supportedExtensions = new List<string>(SupportedImageExtensions)
{