From 09e607db9948a3563fe7ed0f85e0cdd9497be379 Mon Sep 17 00:00:00 2001 From: Shadowghost Date: Fri, 15 May 2026 11:55:49 +0200 Subject: Fix integrated provider images --- MediaBrowser.Controller/Plugins/IHasEmbeddedImage.cs | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 MediaBrowser.Controller/Plugins/IHasEmbeddedImage.cs (limited to 'MediaBrowser.Controller') diff --git a/MediaBrowser.Controller/Plugins/IHasEmbeddedImage.cs b/MediaBrowser.Controller/Plugins/IHasEmbeddedImage.cs new file mode 100644 index 0000000000..4196cd9f24 --- /dev/null +++ b/MediaBrowser.Controller/Plugins/IHasEmbeddedImage.cs @@ -0,0 +1,17 @@ +namespace MediaBrowser.Controller.Plugins; + +/// +/// Marker interface for integrated/bundled plugins that ship their plugin image as an embedded +/// resource inside the plugin assembly rather than as a file on disk. +/// +/// +/// This interface is intended for plugins compiled into the server. External plugins should +/// continue to declare their image via the imagePath field in meta.json. +/// +public interface IHasEmbeddedImage +{ + /// + /// Gets the name of the embedded resource in this plugin's assembly to serve as the plugin image. + /// + string ImageResourceName { get; } +} -- cgit v1.2.3