|
|
|
@ -1,3 +1,4 @@
|
|
|
|
|
#nullable disable
|
|
|
|
|
#pragma warning disable CS1591
|
|
|
|
|
|
|
|
|
|
using System;
|
|
|
|
@ -11,6 +12,9 @@ namespace MediaBrowser.Providers.Plugins.StudioImages
|
|
|
|
|
{
|
|
|
|
|
public class Plugin : BasePlugin<PluginConfiguration>, IHasWebPages
|
|
|
|
|
{
|
|
|
|
|
// TODO change this for a Jellyfin-hosted repository.
|
|
|
|
|
public const string DefaultServer = "https://raw.github.com/MediaBrowser/MediaBrowser.Resources/master/images/imagesbyname";
|
|
|
|
|
|
|
|
|
|
public Plugin(IApplicationPaths applicationPaths, IXmlSerializer xmlSerializer)
|
|
|
|
|
: base(applicationPaths, xmlSerializer)
|
|
|
|
|
{
|
|
|
|
@ -25,9 +29,6 @@ namespace MediaBrowser.Providers.Plugins.StudioImages
|
|
|
|
|
|
|
|
|
|
public override string Description => "Get artwork for studios from any Jellyfin-compatible repository.";
|
|
|
|
|
|
|
|
|
|
// TODO change this for a Jellyfin-hosted repository.
|
|
|
|
|
public const string DefaultServer = "https://raw.github.com/MediaBrowser/MediaBrowser.Resources/master/images/imagesbyname";
|
|
|
|
|
|
|
|
|
|
// TODO remove when plugin removed from server.
|
|
|
|
|
public override string ConfigurationFileName => "Jellyfin.Plugin.StudioImages.xml";
|
|
|
|
|
|
|
|
|
|