Fix build

This commit is contained in:
Bond_009 2021-12-24 16:35:57 +01:00
parent daa76d3d34
commit ec2645c0c0

View File

@ -1,3 +1,4 @@
#nullable disable
#pragma warning disable CS1591 #pragma warning disable CS1591
using System; using System;
@ -11,6 +12,9 @@ namespace MediaBrowser.Providers.Plugins.StudioImages
{ {
public class Plugin : BasePlugin<PluginConfiguration>, IHasWebPages 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) public Plugin(IApplicationPaths applicationPaths, IXmlSerializer xmlSerializer)
: base(applicationPaths, 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."; 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. // TODO remove when plugin removed from server.
public override string ConfigurationFileName => "Jellyfin.Plugin.StudioImages.xml"; public override string ConfigurationFileName => "Jellyfin.Plugin.StudioImages.xml";