diff options
| author | Bond-009 <bond.009@outlook.com> | 2026-05-21 19:27:46 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-05-21 19:27:46 +0200 |
| commit | 11ca3ade86081d8fe8ef535c577660e623ee0e19 (patch) | |
| tree | 25150041dc7d3735d3c37296c691d36450dabcc7 /MediaBrowser.Controller | |
| parent | fa734df82fc487a470e53583f01adccae11a6479 (diff) | |
| parent | 8740f3d154b409ed83f5eb7dd07c82bd520327d1 (diff) | |
Merge pull request #16855 from Shadowghost/fix-local-plugin-images
Fix integrated provider images
Diffstat (limited to 'MediaBrowser.Controller')
| -rw-r--r-- | MediaBrowser.Controller/Plugins/IHasEmbeddedImage.cs | 17 |
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; } +} |
