aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/Plugins
diff options
context:
space:
mode:
authorShadowghost <Ghost_of_Stone@web.de>2026-05-15 11:55:49 +0200
committerShadowghost <Ghost_of_Stone@web.de>2026-05-15 18:42:11 +0200
commit09e607db9948a3563fe7ed0f85e0cdd9497be379 (patch)
tree32f3d68e85238196aaebae76040285e2c4b880a7 /MediaBrowser.Controller/Plugins
parent31889c0215c694cb8779c0f680ea64c1a094bed9 (diff)
Fix integrated provider images
Diffstat (limited to 'MediaBrowser.Controller/Plugins')
-rw-r--r--MediaBrowser.Controller/Plugins/IHasEmbeddedImage.cs17
1 files changed, 17 insertions, 0 deletions
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;
+
+/// <summary>
+/// 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.
+/// </summary>
+/// <remarks>
+/// This interface is intended for plugins compiled into the server. External plugins should
+/// continue to declare their image via the <c>imagePath</c> field in <c>meta.json</c>.
+/// </remarks>
+public interface IHasEmbeddedImage
+{
+ /// <summary>
+ /// Gets the name of the embedded resource in this plugin's assembly to serve as the plugin image.
+ /// </summary>
+ string ImageResourceName { get; }
+}